Skip to content

Commit dc12b74

Browse files
committed
adding constructors for e+e- algos
1 parent 3a293f8 commit dc12b74

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.ci/build_tarballs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ install_license $WORKSPACE/srcdir/LICENSE.md
2424

2525
# These are the platforms we will build for by default, unless further
2626
# platforms are passed in on the command line
27-
platforms = Platform[
28-
Linux(:x86_64; libc=:glibc, compiler_abi=CompilerABI(cxxstring_abi=:cxx11))
27+
platforms = [
28+
Linux(:x86_64; libc=:glibc)
2929
]
3030

3131
# The products that we will ensure are always built
@@ -41,4 +41,4 @@ dependencies = [
4141
]
4242

4343
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
44-
preferred_gcc_version=v"7", julia_compat = "^$(julia_version.major).$(julia_version.minor)")
44+
preferred_gcc_version=v"8", julia_compat = "^$(julia_version.major).$(julia_version.minor)")

src/fastJetWrap.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ JLCXX_MODULE define_julia_module(jlcxx::Module& fastjet)
103103
// we mostly don't need the jet definition on the julia side.
104104
// only used to instantiate the clustering
105105
fastjet.add_type<JetDefinition>("JetDefinition")
106-
.constructor<const JetAlgorithm, double>();
106+
.constructor<const JetAlgorithm>()
107+
.constructor<const JetAlgorithm, double>()
108+
.constructor<const JetAlgorithm, double, double>();
107109

108110
fastjet.add_type<JetDefinition::Plugin>("JetDefinitionPlugin");
109111

0 commit comments

Comments
 (0)