Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
9398fbd5
Commit
9398fbd5
authored
4 months ago
by
AlQuemist
Browse files
Options
Downloads
Patches
Plain Diff
SWIG API: update
parent
eaec9449
No related branches found
Branches containing commit
No related tags found
1 merge request
!2759
Use the stable Python C-API for compatibility with ealier Python versions
Pipeline
#171382
passed
4 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
auto/Wrap/libBornAgainSim_wrap.cpp
+1
-1
1 addition, 1 deletion
auto/Wrap/libBornAgainSim_wrap.cpp
with
1 addition
and
1 deletion
auto/Wrap/libBornAgainSim_wrap.cpp
+
1
−
1
View file @
9398fbd5
...
...
@@ -6769,7 +6769,7 @@ void BA_SWIG_exePySimulation(void* pSimulationCallable, const mumufit::Parameter
#endif // DEBUG
// call the Python function with arguments
PyObject* pResult = PyObject_Call
One
Arg(pyFunc, params_dict);
PyObject* pResult = PyObject_Call
FunctionObj
Arg
s
(pyFunc, params_dict
, NULL
);
Py_DECREF(params_dict);
if (!pResult) {
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment