I am using questions from
Library/NAU/setLinearAlgebra/P3span.pg
in one of my webwork quizzes and some of my students are getting the error:
ERRORS from evaluating PG file:
Undefined subroutine &context::Fraction::Real::cmp_defaults called at
[PG]/lib/Value/AnswerChecker.pm line 1620
The page displays properly for me when I look at it. The error does not always appear but it is appearing enough to cause problems.
Can anyone see what the problem might be? Clearly a subroutine is missing but I don't know where to find this. The quiz file starts with
loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"AnswerFormatHelp.pl",
"MatrixReduce.pl",
"PGcourse.pl",
"contextFraction.pl"
);
"PGstandard.pl",
"MathObjects.pl",
"parserMultiAnswer.pl",
"AnswerFormatHelp.pl",
"MatrixReduce.pl",
"PGcourse.pl",
"contextFraction.pl"
);
and I have not taken anything out of this list so I am somewhat confused as to why a standard question from the library would cause errors.
Andrew