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
4a08156c
Commit
4a08156c
authored
9 years ago
by
Jonathan Fisher
Browse files
Options
Downloads
Plain Diff
Merge branch 'swig' into develop
parents
b6c23097
45d05635
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Core/PythonAPI/libBornAgainCore_wrap.cxx
+0
-2
0 additions, 2 deletions
Core/PythonAPI/libBornAgainCore_wrap.cxx
dev-tools/swig/extends.i
+0
-2
0 additions, 2 deletions
dev-tools/swig/extends.i
with
0 additions
and
4 deletions
Core/PythonAPI/libBornAgainCore_wrap.cxx
+
0
−
2
View file @
4a08156c
...
...
@@ -6949,8 +6949,6 @@ struct SWIG_null_deleter {
#define SWIG_NO_NULL_DELETER_SWIG_BUILTIN_INIT
SWIGINTERN void ISampleBuilder_registerParameter__SWIG_0(ISampleBuilder *self,std::string const &name,int64_t parpointer,AttLimits const &limits=AttLimits::limitless()){
std::cout << "value passed to ISampleBuilder::registerParameter: " << (double*)parpointer << std::endl;
std::cout << "current value of the parameters: " << *(double*)parpointer << std::endl;
return (*(self)).registerParameter(name, (double*)parpointer, limits);
}
SWIGINTERN bool ISampleBuilder_setParameterValue(ISampleBuilder *self,std::string const &name,double value){
This diff is collapsed.
Click to expand it.
dev-tools/swig/extends.i
+
0
−
2
View file @
4a08156c
...
...
@@ -111,8 +111,6 @@ namespace Geometry {
virtual void registerParameter(const std::string &name, int64_t parpointer, const AttLimits& limits = AttLimits::limitless())
{
std::cout << "value passed to ISampleBuilder::registerParameter: " << (double*)parpointer << std::endl;
std::cout << "current value of the parameters: " << *(double*)parpointer << std::endl;
return (*($self)).registerParameter(name, (double*)parpointer, limits);
}/**/
...
...
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