Skip to content

Commit

Permalink
fixed a bug related to logical variable flag value setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Madu86 committed Mar 19, 2024
1 parent f5a80bd commit 3d195d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cuda/gpu.cu
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ extern "C" void gpu_upload_method_(int* quick_method, bool* is_oshell, double* h
gpu -> gpu_sim.hyb_coeff = *hyb_coeff;
}

gpu -> gpu_sim.is_oshell = *is_oshell;
bool interpreted_is_oshell = *is_oshell != 0;
gpu -> gpu_sim.is_oshell = interpreted_is_oshell;
}

#ifdef CEW
Expand Down

0 comments on commit 3d195d2

Please sign in to comment.