Skip to content

Commit

Permalink
Revert "Merge branch 'feature/solution-quality-comparator' of https:/…
Browse files Browse the repository at this point in the history
…/github.com/ProvideQ/toolbox-server into feature/solution-quality-comparator"

This reverts commit af73aad, reversing
changes made to d30d4ad.
  • Loading branch information
zaibod committed Nov 25, 2024
1 parent af73aad commit b80bca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/kit/provideq/toolbox/api/ComparisonDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import edu.kit.provideq.toolbox.BoundWithInfo;
import edu.kit.provideq.toolbox.Solution;

public record ComparisonDto(int comparison, BoundWithInfo bound, Solution<?> solution) {
public record ComparisonDto(float comparison, BoundWithInfo bound, Solution<?> solution) {
@Override public String toString() {
return "Comparison{comparison=%d, bound=%s, solution=%s}"
return "Comparison{comparison=%f, bound=%s, solution=%s}"
.formatted(comparison, bound, solution);
}
}

0 comments on commit b80bca9

Please sign in to comment.