Dear Friedemann,
Running (essentially) your code on my machine didn't produce an error (see below). What error message did you see? If there was no error message, then what about the output surprised you?
Greg
Macaulay2, version 1.24.05
with packages: ConwayPolynomials, Elimination, IntegralClosure, InverseSystems, Isomorphism, LLLBases, MinimalPrimes,
OnlineLookup, PrimaryDecomposition, ReesAlgebra, Saturation, TangentCone, Truncations, Varieties
i1 : needsPackage "NormalToricVarieties";
i2 : A = QQ[c_1..c_14];
i3 : R = A[t_1..t_3];
i4 : f = {c_1*t_2*t_3+c_2*t_1*t_3+c_3*t_1*t_2*t_3+c_4*t_1^3,
c_5*t_2^2*t_3+c_6*t_1*t_2*t_3,
c_7*t_3^2+c_8*t_2^2*t_3+c_9*t_1*t_2*t_3+c_10*t_1^2,
c_11*t_2*t_3+c_12*t_2^2*t_3+c_13*t_1*t_3+c_14*t_1^2};
i5 : P = fold( minkowskiSum, f / newtonPolytope )
o5 = P
o5 : Polyhedron
i6 : vertex = vertices P
o6 = | 8 7 6 7 4 6 2 5 3 5 3 0 0 1 3 3 0 2 0 1 |
| 1 2 1 2 3 2 4 4 6 1 5 6 7 7 1 2 4 4 5 5 |
| 1 1 2 2 2 3 3 3 3 4 4 4 4 4 5 5 5 5 5 5 |
3 20
o6 : Matrix QQ <-- QQ
i7 : D = toricDivisor P
o7 = - D + 9*D - 9*D - 8*D - 14*D - 11*D - 9*D + 3*D + 5*D + 9*D + 12*D + 13*D + 15*D + 16*D + 20*D + 23*D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
o7 : ToricDivisor on normalToricVariety ({{1, 0, 0}, {0, 1, 0}, {-1, -1, 0}, {1, -1, 4}, {1, 0, 2}, {2, 1, 2}, {1, 1, 2}, {1, 1, 1}, {0, -1, 1}, {0, 0, -1}, {-1, 0, -1}, {-1, -1, -1}, {-1, 0, -2}, {0, -1, -2}, {-1, -1, -2}, {-2, -1, -2}, {-2, -1, -3}}, {{0, 3, 4, 8, 13}, {0, 4, 5}, {0, 5, 7, 9}, {0, 9, 13}, {1, 2, 6, 10}, {1, 6, 7}, {1, 7, 9, 12}, {1, 10, 12, 16}, {2, 3, 6}, {2, 3, 8, 11}, {2, 10, 15}, {2, 11, 15, 16}, {3, 4, 6, 7}, {4, 5, 7}, {8, 11, 13, 14}, {9, 12, 16}, {9, 13, 14}, {9, 14, 16}, {10, 15, 16}, {11, 14, 16}})
i8 : X = variety D
o8 = X
o8 : NormalToricVariety
i9 : entries D
o9 = {0, -1, 9, -9, -8, -14, -11, -9, 3, 5, 9, 12, 13, 15, 16, 20, 23}
o9 : List
i10 : apply( rays X, i-> -min (entries( (matrix {i}) * vertex ))#0 )
o10 = {0, -1, 9, -9, -8, -14, -11, -9, 3, 5, 9, 12, 13, 15, 16, 20, 23}
o10 : List