Consider the following example problem:
DOCUMENT();
loadMacros('PGstandard.pl', 'PGML.pl');
Context('Matrix');
$ans = Matrix([['x'], ['y'], ['z']]);
BEGIN_PGML
[`[$ans]=`] [_]*{$ans}
END_PGML
ENDDOCUMENT();
Enter in the answer for two of the three answer boxes, leaving one empty, such as [[x],[y],[]]. Checking the problem gives the following warning (I had to check the answer twice for the warning to appear in the editor):
Can't call method "type" on unblessed reference at [PG]/lib/Value/AnswerChecker.pm line 1904
Consider the following example problem:
Enter in the answer for two of the three answer boxes, leaving one empty, such as
[[x],[y],[]]. Checking the problem gives the following warning (I had to check the answer twice for the warning to appear in the editor):