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

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

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

Revision 4962 Revision 4963
184 if(defined($options{'complex'}) && 184 if(defined($options{'complex'}) &&
185 ($options{'complex'} =~ /(yes|ok)/i)) { 185 ($options{'complex'} =~ /(yes|ok)/i)) {
186 #$context->constants->redefine('i', from=>'Complex'); 186 #$context->constants->redefine('i', from=>'Complex');
187 #$context->functions->redefine(['arg','mod','Re','Im','conj', 'sqrt', 'log'], from=>'Complex'); 187 #$context->functions->redefine(['arg','mod','Re','Im','conj', 'sqrt', 'log'], from=>'Complex');
188 #$context->operators->redefine(['^', '**'], from=>'Complex'); 188 #$context->operators->redefine(['^', '**'], from=>'Complex');
189 $context = $Parser::Context::Default::context{'Complex'}; 189 $context = Parser::Context->getCopy(\%main::context,"Complex");
190 } 190 }
191 $options{tolType} = $options{tolType} || 'relative'; 191 $options{tolType} = $options{tolType} || 'relative';
192 $options{tolType} = 'absolute' if defined($options{tol}); 192 $options{tolType} = 'absolute' if defined($options{tol});
193 $options{zeroLevel} = $options{zeroLevel} || $options{zeroLevelTol} || 193 $options{zeroLevel} = $options{zeroLevel} || $options{zeroLevelTol} ||
194 $main::numZeroLevelTolDefault; 194 $main::numZeroLevelTolDefault;

Legend:
Removed from v.4962  
changed lines
  Added in v.4963

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9