Skip to content

Commit

Permalink
fix cuda compile
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Oct 8, 2023
1 parent 53a3916 commit a136a59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/module_hamilt_general/operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class Operator

/// developer-friendly interfaces for act() function
/// interface type 2: input and change the Psi-type HPsi
virtual void act(const psi::Psi<T>& psi_in, psi::Psi<T>& psi_out) const {};
virtual void act(const psi::Psi<T, Device>& psi_in, psi::Psi<T, Device>& psi_out) const {};
/// interface type 3: return a Psi-type HPsi
// virtual psi::Psi<T> act(const psi::Psi<T>& psi_in) const { return psi_in; };
// virtual psi::Psi<T> act(const psi::Psi<T,Device>& psi_in) const { return psi_in; };

Operator* next_op = nullptr;

Expand Down

0 comments on commit a136a59

Please sign in to comment.