mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add const to non-mutating member functions across remaining modules
libeigen/eigen!2222 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -281,7 +281,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
// Dummy struct to represent an empty DoneCallback.
|
||||
|
||||
struct NoCallback {
|
||||
void operator()() { eigen_assert(false && "NoCallback should never be called"); }
|
||||
void operator()() const { eigen_assert(false && "NoCallback should never be called"); }
|
||||
};
|
||||
|
||||
// ------------------------------------------------------------------------ //
|
||||
|
||||
Reference in New Issue
Block a user