aboutsummaryrefslogtreecommitdiff
path: root/src/gen/equation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen/equation.c')
-rw-r--r--src/gen/equation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen/equation.c b/src/gen/equation.c
index 7928128..619378f 100644
--- a/src/gen/equation.c
+++ b/src/gen/equation.c
@@ -46,7 +46,7 @@ GENERATOR(a_gen_once) {
curve_a = curve;
return 1;
} else {
- return 0;
+ return inp;
}
}
@@ -100,7 +100,7 @@ GENERATOR(b_gen_once) {
curve_b = curve;
return 1;
} else {
- return 0;
+ return inp;
}
}