Skip to content

Commit

Permalink
chore: Remove unused use of deprecated isOk
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed Mar 27, 2024
1 parent 3b1b9df commit 7d64cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/Solver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fun solve(
reporter,
)
return LoadFlowResultForApi(
isOk = result.isOk,
isOk = !result.isFailed,
buses = busPropertiesFromNetwork(network),
branches = branchPropertiesFromNetwork(network),
report = reporterToString(reporter),
Expand Down

0 comments on commit 7d64cf2

Please sign in to comment.