Skip to content

Commit 47fdcc8

Browse files
committed
Fixing a typo
1 parent 21d3f20 commit 47fdcc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyomo/contrib/piecewise/transform/epigraph_hypograph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _transform_pw_linear_expr(self, pw_expr, pw_linear_func, transformation_bloc
4747
# this is the hypograph (the function is concave)
4848
elif pw_linear_func.function_type == FunctionType.CONCAVE:
4949
epigraph = False
50-
elif pw_linear_func.funtion_type == FunctionType.UNSPECIFIED:
50+
elif pw_linear_func.function_type == FunctionType.UNSPECIFIED:
5151
# we should autodetect if the dimension isn't insane, yell otherwise
5252
raise NotImplementedError(
5353
"It is (quadratically, in the number of pieces) possible to "

0 commit comments

Comments
 (0)