diff --git a/bindings/julia/src/TriangularMap.cpp b/bindings/julia/src/TriangularMap.cpp index 73a4a4d9..12031565 100644 --- a/bindings/julia/src/TriangularMap.cpp +++ b/bindings/julia/src/TriangularMap.cpp @@ -17,8 +17,8 @@ void mpart::binding::TriangularMapWrapper(jlcxx::Module &mod) { .method("GetComponent", &TriangularMap::GetComponent) ; - mod.method("TriangularMap", [](std::vector>> vec){ - return std::static_pointer_cast>(std::make_shared>(vec)); + mod.method("TriangularMap", [](std::vector>> vec, bool move_coeffs=false){ + return std::static_pointer_cast>(std::make_shared>(vec, move_coeffs)); }); } \ No newline at end of file diff --git a/tests/Distributions/Test_Distributions_Common.h b/tests/Distributions/Test_Distributions_Common.h index e264d775..eb98ba1d 100644 --- a/tests/Distributions/Test_Distributions_Common.h +++ b/tests/Distributions/Test_Distributions_Common.h @@ -2,6 +2,7 @@ #define TEST_DISTRIBUTIONS_COMMON_H #include +#include #include #include "MParT/Utilities/ArrayConversions.h" #include "MParT/Distributions/DensityBase.h"