Skip to content

Commit 273543b

Browse files
committed
fix merge
1 parent 597172e commit 273543b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linopy/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def objective_to_file_polars(m, f, progress=False, printers=None):
517517
.otherwise(pl.col("vars1"))
518518
.alias("vars")
519519
)
520-
objective_write_linear_terms_polars(f, lins, print_variable)
520+
objective_write_linear_terms_polars(f, linear_terms, print_variable)
521521

522522
quads = df.filter(pl.col("vars1").ne(-1) & pl.col("vars2").ne(-1))
523523
objective_write_quadratic_terms_polars(f, quads, print_variable)

0 commit comments

Comments
 (0)