diff --git a/Project.toml b/Project.toml index c6f1d949..84b5fbe6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Polymake" uuid = "d720cf60-89b5-51f5-aff5-213f193123e7" repo = "https://github.com/oscar-system/Polymake.jl.git" -version = "0.11.14" +version = "0.11.15" [deps] BinaryWrappers = "f01c122e-0ea1-4f85-ad8f-907073ad7a9f" diff --git a/src/polymake/julia.rules b/src/polymake/julia.rules index 1098a10c..dc34b380 100644 --- a/src/polymake/julia.rules +++ b/src/polymake/julia.rules @@ -37,7 +37,7 @@ function classify_perl_pv($) { if instanceof Polymake::Core::BigObject($pv); return "pm::perl::BigObjectType" if instanceof Polymake::Core::BigObjectType($pv); - return "pm::perl::Array" + return "pm::Array" if instanceof Polymake::Core::BigObjectArray($pv); # a plain perl string is also done here return "std::string" diff --git a/test/perlobj.jl b/test/perlobj.jl index d076792f..61388e83 100644 --- a/test/perlobj.jl +++ b/test/perlobj.jl @@ -289,6 +289,13 @@ @test arr[1] isa Polymake.BigObject @test arr[2] isa Polymake.BigObject @test arr[1].N_VERTICES == 8 + + c = polytope.cross(3) + @test Polymake.polytope.free_sum_decomposition(c) isa Polymake.Array{Polymake.BigObject} + arr = Polymake.polytope.free_sum_decomposition(c) + @test length(arr) == 3 + @test arr[1].CONE_DIM == 2 + @test arr[3].CONE_DIM == 2 end