Skip to content

Commit 29238d9

Browse files
committed
make NoLinearCombination a RuntimeError
1 parent ec28f89 commit 29238d9

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
@@ -1287,7 +1287,7 @@ def verify_linear_combination(t_L, r_L, linear_combination, lines):
12871287
linear_combination * vector(values(m, lines))
12881288
for m in xsrange(0, (n_max - r_L) // k**t_L + 1))
12891289

1290-
class NoLinearCombination(ValueError):
1290+
class NoLinearCombination(RuntimeError):
12911291
pass
12921292

12931293
def find_linear_combination(t_L, r_L, lines):

0 commit comments

Comments
 (0)