@@ -921,7 +921,6 @@ PYBIND11_MODULE(rat_core, m) {
921921 .def_readwrite (" pUnitGamma" , &Control::pUnitGamma)
922922 .def_readwrite (" boundHandling" , &Control::boundHandling)
923923 .def_readwrite (" adaptPCR" , &Control::adaptPCR)
924- .def_readwrite (" calcSLD" , &Control::calcSLD)
925924 .def_readwrite (" IPCFilePath" , &Control::IPCFilePath)
926925 .def (py::pickle (
927926 [](const Control &ctrl) { // __getstate__
@@ -931,10 +930,10 @@ PYBIND11_MODULE(rat_core, m) {
931930 ctrl.targetValue , ctrl.numGenerations , ctrl.strategy , ctrl.nLive , ctrl.nMCMC , ctrl.propScale ,
932931 ctrl.nsTolerance , ctrl.numSimulationPoints , ctrl.resampleMinAngle , ctrl.resampleNPoints ,
933932 ctrl.updateFreq , ctrl.updatePlotFreq , ctrl.nSamples , ctrl.nChains , ctrl.jumpProbability ,
934- ctrl.pUnitGamma , ctrl.boundHandling , ctrl.adaptPCR , ctrl.calcSLD , ctrl. IPCFilePath );
933+ ctrl.pUnitGamma , ctrl.boundHandling , ctrl.adaptPCR , ctrl.IPCFilePath );
935934 },
936935 [](py::tuple t) { // __setstate__
937- if (t.size () != 30 )
936+ if (t.size () != 29 )
938937 throw std::runtime_error (" Encountered invalid state unpickling ProblemDefinition object!" );
939938
940939 /* Create a new C++ instance */
@@ -968,8 +967,7 @@ PYBIND11_MODULE(rat_core, m) {
968967 ctrl.pUnitGamma = t[25 ].cast <real_T>();
969968 ctrl.boundHandling = t[26 ].cast <std::string>();
970969 ctrl.adaptPCR = t[27 ].cast <boolean_T>();
971- ctrl.calcSLD = t[28 ].cast <boolean_T>();
972- ctrl.IPCFilePath = t[29 ].cast <std::string>();
970+ ctrl.IPCFilePath = t[28 ].cast <std::string>();
973971
974972 return ctrl;
975973 }));
0 commit comments