aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/curve.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/curve.spad.pamphlet')
-rw-r--r--src/algebra/curve.spad.pamphlet3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/algebra/curve.spad.pamphlet b/src/algebra/curve.spad.pamphlet
index d216b16d..7f959605 100644
--- a/src/algebra/curve.spad.pamphlet
+++ b/src/algebra/curve.spad.pamphlet
@@ -213,7 +213,8 @@ FunctionFieldCategory(F, UP, UPUP): Category == Definition where
nonSingularModel u ==
d := commonDenominator(coordinates(w := integralBasis()))::RF
- vars := [concat(string u, string i)::SY for i in 1..(n := #w)]
+ n := #w
+ vars := [concat(string u, string i)::SY for i in 1..n]
x := "%%dummy1"::SY
y := "%%dummy2"::SY
select_!(zero?(degree(#1, x)) and zero?(degree(#1, y)),