mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Silenced some compilation warnings
This commit is contained in:
@@ -55,18 +55,6 @@ struct Initializer<Derived, 1> {
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Derived>
|
||||
struct Initializer<Derived, Dynamic> {
|
||||
typedef std::initializer_list<typename traits<Derived>::Scalar> InitList;
|
||||
|
||||
static void run(TensorEvaluator<Derived, DefaultDevice>& tensor,
|
||||
Eigen::array<typename traits<Derived>::Index, traits<Derived>::NumDimensions>* indices,
|
||||
const InitList& vals) {
|
||||
// Static initialization not implemented for VarDims tensors.
|
||||
eigen_assert(false);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Derived, int N>
|
||||
void initialize_tensor(TensorEvaluator<Derived, DefaultDevice>& tensor,
|
||||
const typename Initializer<Derived, traits<Derived>::NumDimensions>::InitList& vals) {
|
||||
|
||||
Reference in New Issue
Block a user