astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

[3.0.1] test_operators fails #282

Open olebole opened 4 years ago

olebole commented 4 years ago

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