summaryrefslogtreecommitdiff
path: root/src/theory/arith/nl/transcendental/sine_solver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/nl/transcendental/sine_solver.h')
-rw-r--r--src/theory/arith/nl/transcendental/sine_solver.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/theory/arith/nl/transcendental/sine_solver.h b/src/theory/arith/nl/transcendental/sine_solver.h
index 9f9102a53..e41e6bd4f 100644
--- a/src/theory/arith/nl/transcendental/sine_solver.h
+++ b/src/theory/arith/nl/transcendental/sine_solver.h
@@ -93,6 +93,7 @@ class SineSolver
TNode c,
TNode poly_approx_c,
unsigned d,
+ unsigned actual_d,
int region);
private:
@@ -152,15 +153,15 @@ class SineSolver
default: return 0;
}
}
- int regionToConcavity(int region)
+ Convexity regionToConvexity(int region)
{
switch (region)
{
case 1:
- case 2: return -1;
+ case 2: return Convexity::CONCAVE;
case 3:
- case 4: return 1;
- default: return 0;
+ case 4: return Convexity::CONVEX;
+ default: return Convexity::UNKNOWN;
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback