Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
Signed-off-by: jarchambault <[email protected]>
  • Loading branch information
jeanneArchambault committed Dec 11, 2024
1 parent 5b1509b commit 0cb79d2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.powsybl.openloadflow.network.LfBus;
import com.powsybl.openloadflow.network.LfNetwork;
import com.powsybl.openloadflow.network.util.VoltageInitializer;
import com.sun.jdi.InvalidTypeException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.commons.lang3.Range;
Expand Down Expand Up @@ -217,7 +216,7 @@ public void addConstraint(int equationId, KnitroProblem knitroProblem, List<Equa
knitroProblem.addConstraintLinearPart(equationId, listVar.get(i), listCoef.get(i));
}
LOGGER.trace("Adding linear constraint n° {} of type {}", equationId, typeEq);
} catch (InvalidTypeException e) {
} catch (UnsupportedOperationException e) {
throw new RuntimeException(e);
}
} else {
Expand Down

0 comments on commit 0cb79d2

Please sign in to comment.