|Links to HEAD:||(view) (download) (as text) (annotate)|
This commit was manufactured by cvs2svn to create branch 'rel-2-4-patches'.
backport: bring rel-2-4-dev in sync with HEAD
This commit was manufactured by cvs2svn to create branch 'rel-2-4-dev'.
Movified the copying of functions from Complex1:: into main:: to avoid conflicts with the PGcommonFunctions.pl versions (these errors were trapped, but still show up in the error log unnecessarily). Also commented out some code that was not doing anything other than producing error messages in the error log. (It was left over from a syntax check on the professor's answer, but the actual check was removed, leaving a portion that tries to process the answer, but usually fails (because things like "1+4i" need to be converted to "1+4*i" before they can be used in PG_answer_eval, but that was not being done). Because of this, it is not possible currently to do cplx_cmp("1+4i"), and instead you must to cplx_cmp(new Complex(1,4)). To fix this, you would need to call check_syntax (and the other filters that are called on the student's answer) before calling PG_answer_eval. Of course, you should only do this when the professor's answer isn't already a Complex object. I am going to work on a Legacy module like the ones for num_cmp and fun_cmp to replace cplx_cmp, which should avoid these problems and make the changes suggested above unnecessary.
Adjusted some spacing
New context which allows students to use C(n,r) and P(n,r) in their answers. To support this, the webwork versions of these functions have been moved from PGaux... to PGcommon...
Changed the call method to check if the function is actually defined inthe parser before calling the parser method. This allows things like C(n,r) to be moved here but not automatically included in the Context.
Fixed error with asec and acsc where the parameters were not being passed properly.
Changed the way the parser checks to see if it is loaded.
Make Parser work with PGauxiliaryFunctions.pl, and add the macro files needed to initialize the parser.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|