Skip to content

Commit 145afb5

Browse files
committed
convert_lrs_to_ppl: Raise an error instead of returning None if input is defective
1 parent 3e041be commit 145afb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cutgeneratingfunctionology/igp/vertex_enumeration.py

+2
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ def lrs_row_to_point(l):
371371
expect_in_cddout('end')
372372
return cs
373373

374+
raise ValueError('Input is neither a V-representation nor H-representation')
375+
374376
from sage.misc.temporary_file import tmp_filename
375377
from subprocess import Popen, PIPE
376378

0 commit comments

Comments
 (0)