Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cpp_sisso
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
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
cpp_sisso
Commits
e4561444
Commit
e4561444
authored
4 years ago
by
Thomas Purcell
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix
forgot a pair of parens when needed
parent
8192ed41
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#82650
failed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python/bindings_docstring_keyed.hpp
+2
-3
2 additions, 3 deletions
src/python/bindings_docstring_keyed.hpp
with
2 additions
and
3 deletions
src/python/bindings_docstring_keyed.hpp
+
2
−
3
View file @
e4561444
...
...
@@ -54,8 +54,8 @@ namespace sisso
inline
std
::
string
get_postfix_term
(){
return
this
->
get_override
(
"get_postfix_term"
)();}
inline
void
update_add_sub_leaves
(
std
::
map
<
std
::
string
,
int
>&
add_sub_leaves
,
int
pl_mn
,
int
&
expected_abs_tot
){
this
->
get_override
(
"update_add_sub_leaves"
);}
inline
void
update_div_mult_leaves
(
std
::
map
<
std
::
string
,
double
>&
div_mult_leaves
,
double
fact
,
double
&
expected_abs_tot
){
this
->
get_override
(
"update_div_mult_leaves"
);}
inline
int
n_feats
(){
return
this
->
get_override
(
"n_feats"
);}
inline
std
::
shared_ptr
<
Node
>
feat
(
int
ind
){
return
this
->
get_override
(
"feat"
);}
inline
int
n_feats
(){
return
this
->
get_override
(
"n_feats"
)
()
;}
inline
std
::
shared_ptr
<
Node
>
feat
(
int
ind
){
return
this
->
get_override
(
"feat"
)
()
;}
};
/**
* @brief struct used wrap an OperatorNode object for conversion
...
...
@@ -105,7 +105,6 @@ namespace sisso
.
def
(
"unit"
,
py
::
pure_virtual
(
&
OperatorNode
<
N
>::
unit
),
"@DocString_op_node_unit@"
)
.
add_property
(
"n_feats"
,
&
OperatorNode
<
N
>::
n_feats
,
"@DocString_op_node_n_feats@"
)
.
add_property
(
"feat"
,
&
OperatorNode
<
N
>::
feat
,
"@DocString_op_node_feat@"
)
;
}
...
...
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