Skip to content

Commit

Permalink
adapt to MCI's changed PDF callback interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Apr 9, 2020
1 parent 5517893 commit baf610c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/vmc/WaveFunction.hpp
Expand Up @@ -105,9 +105,9 @@ class WaveFunction: public mci::SamplingFunctionInterface
return wfval*wfval; // the sampling function is Psi^2
}

void observationCallback(const mci::WalkerState &wlk, const double /*protoold*/[], const double /*protonew*/[]) override
void observationCallback(const double x[], const double /*protov*/[]) override
{
this->computeAllDerivatives(wlk.xnew);
this->computeAllDerivatives(x);
}

// --- getters and setters for the derivatives
Expand Down

0 comments on commit baf610c

Please sign in to comment.