Skip to content

Commit

Permalink
Try linking pybind11 to distributions library
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkamp1 committed May 30, 2024
1 parent c287be3 commit acfea5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions projects/distributions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target_include_directories(SIREN_distributions PUBLIC
target_link_libraries(SIREN_distributions
PRIVATE
$<BUILD_INTERFACE:rk_static>
pybind11::embed
PUBLIC
photospline
SIREN_serialization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class pyCrossSection : public CrossSection, public Pybind11Trampoline<CrossSecti
public:
using CrossSection::CrossSection;
pyCrossSection(CrossSection && parent) : CrossSection(std::move(parent)) {}
pybind11::object self;
//pybind11::object self;

bool equal(CrossSection const & other) const override {
SELF_OVERRIDE_PURE(
Expand Down
2 changes: 1 addition & 1 deletion projects/interactions/public/SIREN/interactions/Decay.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class pyDecay : public Decay,Pybind11Trampoline<Decay, pyDecay> {
public:
using Decay::Decay;
pyDecay(Decay && parent) : Decay(std::move(parent)) {}
pybind11::object self;
//pybind11::object self;

double TotalDecayLength(dataclasses::InteractionRecord const & interaction) const override {
SELF_OVERRIDE(
Expand Down

0 comments on commit acfea5f

Please sign in to comment.