We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc09be8 commit 31132c2Copy full SHA for 31132c2
src/kbmod/search/psi_phi_array.cpp
@@ -48,7 +48,7 @@ void PsiPhiArray::clear() {
48
49
void PsiPhiArray::clear_from_gpu() {
50
// We only clear the data from the GPU if it is allocated there.
51
- if (!data_on_gpu) {
+ if (data_on_gpu) {
52
logging::Logger* logger = logging::getLogger("kbmod.search.psi_phi_array");
53
54
if (gpu_time_array.on_gpu()) {
0 commit comments