Skip to content

Commit

Permalink
yet another change in ELPA api
Browse files Browse the repository at this point in the history
  • Loading branch information
toxa81 committed Jan 4, 2022
1 parent 6c753b5 commit a68a21d
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 a68a21d

Please sign in to comment.