Skip to content

Commit 3f1164e

Browse files
authored
Merge pull request #1299 from Alex-Jordan/finite-sets-fix
don't let a negative score be reported
2 parents 907ce3a + 6e306ae commit 3f1164e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

macros/contexts/contextFiniteSolutionSets.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ sub _contextFiniteSolutionSets_init {
283283
. join(',', map { $_->TeX } (@correctanswers))
284284
. "\\right\\}\\)");
285285
}
286+
$score = 0 if $score < 0;
286287
return ($score, @errors);
287288
};
288289
}

0 commit comments

Comments
 (0)