We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27cda6d commit 772512aCopy full SHA for 772512a
lib/WeBWorK/ContentGenerator/Grades.pm
@@ -498,7 +498,7 @@ sub grade_set {
498
my $attempted = $problemRecord->attempted;
499
my $num_correct = $problemRecord->num_correct || 0;
500
my $num_incorrect = $problemRecord->num_incorrect || 0;
501
- $num_of_attempts += $num_correct + $num_incorrect;
+ $num_of_attempts = $num_correct + $num_incorrect;
502
503
#######################################################
504
# This is a fail safe mechanism that makes sure that
0 commit comments