Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.0.1] test_operators fails #282

Open
olebole opened this issue May 17, 2020 · 0 comments
Open

[3.0.1] test_operators fails #282

olebole opened this issue May 17, 2020 · 0 comments

Comments

@olebole
Copy link
Member

olebole commented May 17, 2020

When compiling version 3.0.1 on Debian unstable, I get the following failure during test:

      Start  5: test_operators
 5/27 Test  #5: test_operators ...................Child aborted***Exception:   0.09 sec
test_operators: /build/purify-3.0.1/cpp/purify/utilities.h:149: typename std::enable_if<(std::is_same<typename T0::Scalar, typename T1::Scalar>::value && T0::IsRowMajor), Eigen::Matrix<typename MatrixType::Scalar, -1, 1> >::type purify::utilities::sparse_multiply_matrix(const Eigen::SparseMatrixBase<OtherDerived>&, const Eigen::MatrixBase<U>&) [with T0 = Eigen::SparseMatrix<std::complex<double>, 1, int>; T1 = Eigen::Matrix<std::complex<double>, -1, 1>; typename std::enable_if<(std::is_same<typename T0::Scalar, typename T1::Scalar>::value && T0::IsRowMajor), Eigen::Matrix<typename MatrixType::Scalar, -1, 1> >::type = Eigen::Matrix<std::complex<double>, -1, 1>]: Assertion `M.cols() == x.size()' failed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test_operators is a Catch v1.12.1 host application.
Run with -? for options

Randomness seeded to: 1589715789

-------------------------------------------------------------------------------
Operators
  Create Weighted Measurement Operator
-------------------------------------------------------------------------------
/build/purify-3.0.1/cpp/tests/operators.cc:129
...............................................................................

/build/purify-3.0.1/cpp/tests/operators.cc:129: FAILED:
  {Unknown expression after the reported line}
with expansion:

due to a fatal error condition:
  SIGABRT - Abort (abnormal termination) signal

===============================================================================
test cases:  1 |  0 passed | 1 failed
assertions: 15 | 14 passed | 1 failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant