Skip to content

Commit b6c5282

Browse files
committed
Restore opflow object options for lazy_lineflow_constraints loop
1 parent f69dcb5 commit b6c5282

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/opflow/interface/opflow.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,9 @@ PetscErrorCode OPFLOWSolve(OPFLOW opflow) {
21172117
ierr = OPFLOWSolve(opflow2);
21182118
CHKERRQ(ierr);
21192119

2120+
opflow2->lazy_lineflow_constraints = opflow->lazy_lineflow_constraints;
2121+
opflow2->ignore_lineflow_constraints = opflow->ignore_lineflow_constraints;
2122+
21202123
ierr = OPFLOWDestroy(&opflow);
21212124
CHKERRQ(ierr);
21222125

0 commit comments

Comments
 (0)