[ww-bugs] Bug 3551: LinearInequality not working

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Wed Dec 16 22:11:16 EST 2015


http://bugs.webwork.maa.org/show_bug.cgi?id=3551





--- Comment #1 from Paul Pearson <paultpearson at gmail.com>  2015-12-16 22:11:16 ---
# Here's the pg code that creates the error.

DOCUMENT();

loadMacros(
"PGstandard.pl",
"MathObjects.pl",
"PGML.pl",
"contextInequalities.pl",
"parserLinearInequality.pl",
"PGcourse.pl"
);

TEXT(beginproblem());

Context("Inequalities-Only");
Context()->constants->remove("pi");
Context()->variables->are(p=>'Real', phat=>'Real', pi=>'Real' );
Context()->variables->set(pi => {TeX=>'\pi'}, phat => {TeX=>'\widehat{p}'});

$null = LinearInequality("pi = 0.5");

BEGIN_PGML
    + [` H_0 : `] [___________]
END_PGML

ANS( $null->cmp );

ENDDOCUMENT();

-- 
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