diff --git a/pybind_interface/cuda/pybind_main_cuda.cpp b/pybind_interface/cuda/pybind_main_cuda.cpp index 57b0ba84..74801408 100644 --- a/pybind_interface/cuda/pybind_main_cuda.cpp +++ b/pybind_interface/cuda/pybind_main_cuda.cpp @@ -27,8 +27,10 @@ namespace qsim { unsigned num_sim_threads, unsigned num_state_threads, unsigned num_dblocks - ) : ss_params{num_state_threads, num_dblocks} {} - + ) { + ss_params.num_threads = num_state_threads; + ss_params.num_dblocks = num_dblocks; + } StateSpace CreateStateSpace() const { return StateSpace(ss_params); }