diff options
author | Antonio Sanchez <cantonios@google.com> | 2020-04-10 13:53:26 -0700 |
---|---|---|
committer | Antonio Sanchez <cantonios@google.com> | 2020-04-10 13:53:26 -0700 |
commit | c854e189e6d4868fedc7d4ef81cc3485f5b24841 (patch) | |
tree | 29dfc8f249b4a08ab1793778758b3cdb6bb85566 /Eigen/src/Core/CommaInitializer.h | |
parent | 39142904cc2301628931481e8b331cc2d567e22f (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.h | 1 |
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. |