Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/source_psi/psi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ const int* Psi<T, Device>::get_ngk_pointer() const
}

template <typename T, typename Device>
const int& Psi<T, Device>::get_psi_bias() const
const size_t& Psi<T, Device>::get_psi_bias() const
{
return this->psi_bias;
}
Expand Down
4 changes: 2 additions & 2 deletions source/source_psi/psi.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Psi
const Device* get_device() const;

// return psi_bias
const int& get_psi_bias() const;
const size_t& get_psi_bias() const;

const int& get_current_ngk() const;

Expand All @@ -156,7 +156,7 @@ class Psi
// current pointer for getting the psi
mutable T* psi_current = nullptr;
// psi_current = psi + psi_bias;
mutable int psi_bias = 0;
mutable size_t psi_bias = 0;

const int* ngk = nullptr;

Expand Down
Loading