Skip to content

Commit

Permalink
Fix lfpykit and try to appease AClang 14?
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 25, 2024
1 parent e415cf3 commit cf496cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arbor/cv_policy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ struct cvp_cv_policy_plus {
return os;
}

cvp_cv_policy_plus(const cv_policy& lhs, const cv_policy& rhs): lhs_{lhs}, rhs_(rhs) {}

cv_policy lhs_, rhs_;
};

Expand Down
2 changes: 1 addition & 1 deletion python/example/probe_lfpykit.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def probes(self, _):
)

# use a fixed 3 CVs per branch
cvp = A.cv_policy(A.cv_policy_fixed_per_branch(3))
cvp = A.cv_policy_fixed_per_branch(3)

# place_pwlin can be queried with region/locset expressions to obtain
# geometrical objects, like points and segments, essentially recovering
Expand Down

0 comments on commit cf496cc

Please sign in to comment.