[system] / trunk / pg / macros / parserSolutionFor.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/parserSolutionFor.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3196 Revision 3371
101 $p = bless $p, "SolutionFor::".$p->class; 101 $p = bless $p, "SolutionFor::".$p->class;
102 102
103 # 103 #
104 # Make sure professor's answer actually works 104 # Make sure professor's answer actually works
105 # 105 #
106 Value::Error("Professor's answer of ".$p->string." does not satisfy the given equation") 106 Value::Error("Professor's answer of %s does not satisfy the given equation",$p->string)
107 unless $p->f($p); 107 unless $p->f($p);
108 108
109 # 109 #
110 # Return the SolutionFor object 110 # Return the SolutionFor object
111 # 111 #

Legend:
Removed from v.3196  
changed lines
  Added in v.3371

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9