Skip to content

Commit 1694031

Browse files
allow for rational coordinates when writing data
1 parent a4077d3 commit 1694031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

M2/Macaulay2/packages/Normaliz.m2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ doWriteNmzData List := matrices -> (
212212
for i from 0 to numRows sgr - 1 do (
213213
s := "";
214214
for j from 0 to numColumns sgr - 1
215-
do s = s | sgr_(i,j) | " ";
215+
do s = s | toString(sgr_(i,j)) | " ";
216216
outf << s << endl;
217217
);
218218
-- Until version 3.9.4, input type normal_toric_ideal was called lattice_ideal

0 commit comments

Comments
 (0)