-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
I am unable to disable showTypeWarnings for matrices. I have matrices that sometimes are formulas and sometimes are not, and I want to disable the type warnings with non formula matrices. Consider the following MWE.
DOCUMENT();
loadMacros(qw{PGstandard.pl PGML.pl});
Context('Matrix');
$M = Matrix([[1], [2], [3]])->cmp(showTypeWarnings => 0);
BEGIN_PGML
[_]*{$M}
END_PGML
ENDDOCUMENT();
If you enter in the matrix [[x], [x], [x]], you get warnings that the answer isn't a number. My understanding is showTypeWarnings => 0 should disable that message, but it did not.
Metadata
Metadata
Assignees
Labels
No labels