mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-03 19:55:15 +08:00
Remove unnecessary semicolons.
This commit is contained in:
parent
ae5280aa8d
commit
d5524fc57b
@ -47,7 +47,7 @@ struct eigen_random_device {
|
|||||||
using ReturnType = int;
|
using ReturnType = int;
|
||||||
static constexpr int Entropy = meta_floor_log2<(unsigned int)(RAND_MAX) + 1>::value;
|
static constexpr int Entropy = meta_floor_log2<(unsigned int)(RAND_MAX) + 1>::value;
|
||||||
static constexpr ReturnType Highest = RAND_MAX;
|
static constexpr ReturnType Highest = RAND_MAX;
|
||||||
static EIGEN_DEVICE_FUNC inline ReturnType run() { return std::rand(); };
|
static EIGEN_DEVICE_FUNC inline ReturnType run() { return std::rand(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// Fill a built-in unsigned integer with numRandomBits beginning with the least significant bit
|
// Fill a built-in unsigned integer with numRandomBits beginning with the least significant bit
|
||||||
|
@ -260,7 +260,7 @@ class SymbolValue<Tag, internal::FixedInt<N>> : public BaseExpr<SymbolValue<Tag,
|
|||||||
constexpr SymbolValue() = default;
|
constexpr SymbolValue() = default;
|
||||||
|
|
||||||
/** Default constructor from the value \a val */
|
/** Default constructor from the value \a val */
|
||||||
constexpr SymbolValue(internal::FixedInt<N>){};
|
constexpr SymbolValue(internal::FixedInt<N>) {}
|
||||||
|
|
||||||
/** \returns the stored value of the symbol */
|
/** \returns the stored value of the symbol */
|
||||||
constexpr Index value() const { return static_cast<Index>(N); }
|
constexpr Index value() const { return static_cast<Index>(N); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user