aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CommaInitializer.h
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2020-04-10 13:53:26 -0700
committerGravatar Antonio Sanchez <cantonios@google.com>2020-04-10 13:53:26 -0700
commitc854e189e6d4868fedc7d4ef81cc3485f5b24841 (patch)
tree29dfc8f249b4a08ab1793778758b3cdb6bb85566 /Eigen/src/Core/CommaInitializer.h
parent39142904cc2301628931481e8b331cc2d567e22f (diff)
Fixed commainitializer test.
The removed `finished()` call was responsible for enforcing that the initializer was provided the correct number of values. Putting it back in to restore previous behavior.
Diffstat (limited to 'Eigen/src/Core/CommaInitializer.h')
-rw-r--r--Eigen/src/Core/CommaInitializer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/CommaInitializer.h b/Eigen/src/Core/CommaInitializer.h
index d81a73f98..53066c653 100644
--- a/Eigen/src/Core/CommaInitializer.h
+++ b/Eigen/src/Core/CommaInitializer.h
@@ -107,6 +107,7 @@ struct CommaInitializer
EIGEN_EXCEPTION_SPEC(Eigen::eigen_assert_exception)
#endif
{
+ finished();
}
/** \returns the built matrix once all its coefficients have been set.