Skip to content

Commit 88a20db

Browse files
author
dyzheng
committed
fix: psi error
1 parent 305bbf6 commit 88a20db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/source_psi/psi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ const int* Psi<T, Device>::get_ngk_pointer() const
301301
}
302302

303303
template <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
}

source/source_psi/psi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)