Skip to content

Commit

Permalink
Merge pull request #713 from electronic-structure/fix/elpa-api
Browse files Browse the repository at this point in the history
yet another change in ELPA api
  • Loading branch information
toxa81 committed Jan 7, 2022
2 parents 38a7545 + a68a21d commit 1c33d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linalg/eigenproblem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ class Eigensolver_elpa : public Eigensolver

auto w = mp_h_.get_unique_ptr<double>(matrix_size__);

elpa_eigenvectors_d(handle, A__.at(memory_t::host), w.get(), Z__.at(memory_t::host), &error);
elpa_eigenvectors_all_host_arrays_d(handle, A__.at(memory_t::host), w.get(), Z__.at(memory_t::host), &error);

elpa_deallocate(handle, &error);

Expand Down Expand Up @@ -739,7 +739,7 @@ class Eigensolver_elpa : public Eigensolver
auto w = mp_h_.get_unique_ptr<double>(matrix_size__);

using CT = double _Complex;
elpa_eigenvectors_dc(handle, (CT*)A__.at(memory_t::host), w.get(), (CT*)Z__.at(memory_t::host), &error);
elpa_eigenvectors_all_host_arrays_dc(handle, (CT*)A__.at(memory_t::host), w.get(), (CT*)Z__.at(memory_t::host), &error);

elpa_deallocate(handle, &error);

Expand Down

0 comments on commit 1c33d40

Please sign in to comment.