Skip to content

Commit

Permalink
Update Optimisation.java
Browse files Browse the repository at this point in the history
  • Loading branch information
apete committed Dec 24, 2024
1 parent e554831 commit 16d7736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/ojalgo/optimisation/Optimisation.java
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,9 @@ public <T> Optional<T> getConfigurator(final Class<T> type) {
ProgrammingError.throwIfNull(type);
if (myConfigurator != null && type.isInstance(myConfigurator)) {
return Optional.of((T) myConfigurator);
} else {
return Optional.empty();
}
return Optional.empty();
}

public IntegerStrategy integer() {
Expand Down

0 comments on commit 16d7736

Please sign in to comment.