File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ const int* Psi<T, Device>::get_ngk_pointer() const
301301}
302302
303303template <typename T, typename Device>
304- const int & Psi<T, Device>::get_psi_bias() const
304+ const size_t & Psi<T, Device>::get_psi_bias() const
305305{
306306 return this ->psi_bias ;
307307}
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ class Psi
130130 const Device* get_device () const ;
131131
132132 // return psi_bias
133- const int & get_psi_bias () const ;
133+ const size_t & get_psi_bias () const ;
134134
135135 const int & get_current_ngk () const ;
136136
@@ -156,7 +156,7 @@ class Psi
156156 // current pointer for getting the psi
157157 mutable T* psi_current = nullptr ;
158158 // psi_current = psi + psi_bias;
159- mutable int psi_bias = 0 ;
159+ mutable size_t psi_bias = 0 ;
160160
161161 const int * ngk = nullptr ;
162162
You can’t perform that action at this time.
0 commit comments