Skip to content

Commit 68f63fd

Browse files
committed
Fixes for CI test failures:
1. linopy/expressions.py:1827 - Added missing from linopy import Model import to the doctest example in QuadraticExpression.to_constraint
1 parent e28e358 commit 68f63fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linopy/expressions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,7 @@ def to_constraint(self, sign: SignLike, rhs: ConstantLike) -> QuadraticConstrain
18241824
18251825
Examples
18261826
--------
1827+
>>> from linopy import Model
18271828
>>> m = Model()
18281829
>>> x = m.add_variables(name="x")
18291830
>>> y = m.add_variables(name="y")

0 commit comments

Comments
 (0)