diff --git a/src/madness/mra/convolution1d.h b/src/madness/mra/convolution1d.h index dc96b67ccc5..3cd9768af0d 100644 --- a/src/madness/mra/convolution1d.h +++ b/src/madness/mra/convolution1d.h @@ -927,11 +927,15 @@ namespace madness { typedef typename ConcurrentHashMap > >::iterator iterator; typedef typename ConcurrentHashMap > >::datumT datumT; - static std::shared_ptr< GaussianConvolution1D > get(int k, double expnt, int m, bool periodic) { + static std::shared_ptr< GaussianConvolution1D > get(int k, double expnt, int m, bool periodic, + double bloch_k = 0.0, + unsigned int D = Convolution1D::maxD()) { hashT key = hash_value(expnt); hash_combine(key, k); hash_combine(key, m); hash_combine(key, int(periodic)); + hash_combine(key, bloch_k); + hash_combine(key, D); MADNESS_PRAGMA_CLANG(diagnostic push) MADNESS_PRAGMA_CLANG(diagnostic ignored "-Wundefined-var-template")