adao.init();
// For bounds, Background/Vector, Observation/Vector
Visitor2 visitorPythonObj(adao.getPythonContext());
- mm.visitPythonLeaves(&visitorPythonObj);
+ {
+ AutoGIL agil;
+ mm.visitPythonLeaves(&visitorPythonObj);
+ }
//
adao.loadTemplate(&mm);
//
adao.init();
// For bounds, Background/Vector, Observation/Vector
Visitor2 visitorPythonObj(adao.getPythonContext());
- mm.visitPythonLeaves(&visitorPythonObj);
+ {
+ AutoGIL agil;
+ mm.visitPythonLeaves(&visitorPythonObj);
+ }
//
adao.loadTemplate(&mm);
//
adao.init();
// For bounds, Background/Vector, Observation/Vector
Visitor2 visitorPythonObj(adao.getPythonContext());
- mm.visitPythonLeaves(&visitorPythonObj);
+ {
+ AutoGIL agil;
+ mm.visitPythonLeaves(&visitorPythonObj);
+ }
//
adao.loadTemplate(&mm);
//
adao.init();
// For bounds, Background/Vector, Observation/Vector
VisitorCruePython visitorPythonObj(adao.getPythonContext());
- mm.visitPythonLeaves(&visitorPythonObj);
+ {
+ AutoGIL agil;
+ mm.visitPythonLeaves(&visitorPythonObj);
+ }
//
adao.loadTemplate(&mm);
//