Skip to content

Commit 2da2d35

Browse files
committed
Fix solver_dir type annotation.
1 parent 8218503 commit 2da2d35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linopy/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ def copy(self, include_solution: bool = False) -> Model:
19051905
chunk=self._chunk,
19061906
force_dim_names=self._force_dim_names,
19071907
auto_mask=self._auto_mask,
1908-
solver_dir=self._solver_dir,
1908+
solver_dir=str(self._solver_dir),
19091909
)
19101910

19111911
m._variables = Variables(

0 commit comments

Comments
 (0)