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

TA::heig errors with a 1 by 1 matrix #265

Closed
ryanmrichard opened this issue Apr 5, 2021 · 0 comments
Closed

TA::heig errors with a 1 by 1 matrix #265

ryanmrichard opened this issue Apr 5, 2021 · 0 comments

Comments

@ryanmrichard
Copy link
Contributor

TA::TSpArrayD temp(world, {{0.53624}});
auto [eval, evec] = TA::heig(temp);

Errors with:

test_mp2: /home/ryan/CLionProjects/MP2/build/_deps/tiledarray-src/src/TiledArray/conversions/eigen.h:428: A TiledArray::eigen_to_array(madness::World&, const typename A::trange_type&, const Eigen::MatrixBase&, bool, std::shared_ptr) [with A = TiledArray::DistArray<TiledArray::Tensor<double, Eigen::aligned_allocator >, TiledArray::SparsePolicy>; Derived = Eigen::Matrix<double, -1, -1>; typename A::trange_type = TiledArray::TiledRange; typename Policy::pmap_interface = TiledArray::Pmap]: Assertion `trange.tiles_range().rank() == 1 && "TiledArray::eigen_to_array(): The number of dimensions in " "trange must match that of the Eigen matrix."' failed.

Note that GDB shows that the eigenvalues and eigenvectors ({0.53624} and {{1}} respectively) were computed correctly. I'll see if I can fix this because it's holding up progress on my two-electron system...

evaleev added a commit that referenced this issue Apr 21, 2021
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