Skip to content

Commit f878f75

Browse files
committed
fixup catching NoLinearCombination exception
1 parent 9e5682b commit f878f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/combinat/k_regular_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ def include(line):
13181318

13191319
try:
13201320
solution = find_linear_combination(t_L, r_L, lines)
1321-
except ValueError:
1321+
except NoLinearCombination:
13221322
include(line_L)
13231323
solution = (len(lines)-1)*(zero,) + (one,)
13241324
logger.debug('M_%s: f_{%s*m+%s} = %s * X_m',

0 commit comments

Comments
 (0)