diff --git a/bindings/julia/src/MultiIndex.cpp b/bindings/julia/src/MultiIndex.cpp index 4d313729..8ca2469c 100644 --- a/bindings/julia/src/MultiIndex.cpp +++ b/bindings/julia/src/MultiIndex.cpp @@ -63,6 +63,8 @@ void mpart::binding::MultiIndexWrapper(jlcxx::Module &mod) { .method("NumActiveForward", &MultiIndexSet::NumActiveForward) .method("NumForward", &MultiIndexSet::NumForward) .method("Size", &MultiIndexSet::Size) + .method("addto!", [](MultiIndexSet &mset, MultiIndex const& idx){ return mset += idx; }) + .method("addto!", [](MultiIndexSet &mset, MultiIndexSet const& mset2){ return mset += mset2; }) ; mod.method("MultiIndexSet", [](jlcxx::ArrayRef idxs) {