We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d3f20 commit 47fdcc8Copy full SHA for 47fdcc8
1 file changed
pyomo/contrib/piecewise/transform/epigraph_hypograph.py
@@ -47,7 +47,7 @@ def _transform_pw_linear_expr(self, pw_expr, pw_linear_func, transformation_bloc
47
# this is the hypograph (the function is concave)
48
elif pw_linear_func.function_type == FunctionType.CONCAVE:
49
epigraph = False
50
- elif pw_linear_func.funtion_type == FunctionType.UNSPECIFIED:
+ elif pw_linear_func.function_type == FunctionType.UNSPECIFIED:
51
# we should autodetect if the dimension isn't insane, yell otherwise
52
raise NotImplementedError(
53
"It is (quadratically, in the number of pieces) possible to "
0 commit comments