[ww-bugs] Bug 3703: New: Fails to recognize that I=I in matrix context.
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Fri Aug 12 16:22:27 EDT 2016
http://bugs.webwork.maa.org/show_bug.cgi?id=3703
Summary: Fails to recognize that I=I in matrix context.
Product: WeBWorK 2
Version: 2.12
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: CG: Scoring
AssignedTo: gage at math.rochester.edu
ReportedBy: dabrowsa at indiana.edu
Web browser Firefox
version:
Browser version 48.0
number:
Here's a MWE.
DOCUMENT();
loadMacros("PGstandard.pl",
"PGML.pl",
"MathObjects.pl"
);
TEXT(&beginproblem);
$showPartialCorrectAnswers = 1;
SRAND(1017);
Context("Matrix");
$id = Value::Matrix->I(3);
Context()->constants->add(I=>$id);
$form = Formula('I');
$ans = Formula('I');
BEGIN_PGML
[`[$form]= `][______]{$ans}.
END_PGML
ENDDOCUMENT();
Then "I" is not accepted as the correct answer. I get the error message:
'Can't locate object method "transferFlags" via package "1" (perhaps you forgot
to load "1"?)'
Oddly this seems to be only a problem with the letter I. You don't suppose WW
could be construing it as a Roman numeral?
--
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the webwork-bugs
mailing list