Skip to content

Commit 7d34a00

Browse files
committed
fix a bug that make cuda fail
1 parent 5d4824f commit 7d34a00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/src_pw/hamilt_pw.cuh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ class Hamilt_PW
8888

8989
void h_psi(const std::complex<double> *psi, std::complex<double> *hpsi, const int m = 1);
9090

91-
private:
91+
public:
9292
int *GR_index;
93+
private:
9394

9495
#ifdef __CUDA
9596
// vectors on device

0 commit comments

Comments
 (0)