mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Worked around visual studio compilation warnings.
This commit is contained in:
@@ -60,7 +60,7 @@ struct Initializer<Derived, 0> {
|
|||||||
typedef typename traits<Derived>::Scalar InitList;
|
typedef typename traits<Derived>::Scalar InitList;
|
||||||
|
|
||||||
static void run(TensorEvaluator<Derived, DefaultDevice>& tensor,
|
static void run(TensorEvaluator<Derived, DefaultDevice>& tensor,
|
||||||
Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>*/* indices*/,
|
Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>*,
|
||||||
const InitList& v) {
|
const InitList& v) {
|
||||||
tensor.coeffRef(0) = v;
|
tensor.coeffRef(0) = v;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user