Skip to content

Commit 6e306ae

Browse files
committed
don't let a negative score be reported
1 parent 907ce3a commit 6e306ae

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)