Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
Luro02 committed Dec 14, 2024
1 parent b03cee1 commit 640765f
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/* Licensed under EPL-2.0 2024. */
package edu.kit.kastel.sdq.artemis4j.grading.penalty;

public record Points(double score, boolean capped) {
public Points {
if (score == -0.0) {
score = 0.0;
}
}
}
public record Points(double score, boolean capped) {}

0 comments on commit 640765f

Please sign in to comment.