Skip to content

Commit 50b235d

Browse files
committed
fix delegation to wrong function
1 parent 518ba8b commit 50b235d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sage_acsv/groebner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def compute_primary_decomposition(ideal):
2020
"""
2121
match ACSVSettings.get_default_groebner_backend():
2222
case ACSVSettings.Groebner.MACAULAY2:
23-
return macaulay2_backend.compute_groebner_basis(ideal)
23+
return macaulay2_backend.compute_primary_decomposition(ideal)
2424
case _:
25-
return default_backend.compute_groebner_basis(ideal)
25+
return default_backend.compute_primary_decomposition(ideal)
2626

2727

2828
def compute_saturation(ideal_I, ideal_J):

0 commit comments

Comments
 (0)