From: dpvc v. a. <we...@ma...> - 2005-08-15 01:48:47
|
Log Message: ----------- Changed Context() call to direct reference to context, so as not to leave the wrong content selected as the current one. Modified Files: -------------- pg/lib/Parser/Legacy: PGanswermacros.pl Revision Data ------------- Index: PGanswermacros.pl =================================================================== RCS file: /webwork/cvs/system/pg/lib/Parser/Legacy/PGanswermacros.pl,v retrieving revision 1.8 retrieving revision 1.9 diff -Llib/Parser/Legacy/PGanswermacros.pl -Llib/Parser/Legacy/PGanswermacros.pl -u -r1.8 -r1.9 --- lib/Parser/Legacy/PGanswermacros.pl +++ lib/Parser/Legacy/PGanswermacros.pl @@ -1931,7 +1931,7 @@ # # Initialize the context for the formula # - my $context = &$Context("LegacyNumeric")->copy; + my $context = $Parser::Context::Default::context{"LegacyNumeric"}->copy; $context->flags->set( tolerance => $func_params{'tolerance'}, tolType => $func_params{'tolType'}, |