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:
Rasmus Munk Larsen
2026-02-26 13:58:04 -08:00
parent 13b61529f4
commit 3adfa9bd37
22 changed files with 158 additions and 146 deletions

View File

@@ -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"); }
};
// ------------------------------------------------------------------------ //