WeBWorK Problems

having trouble with $matrix->solve_LR

having trouble with $matrix->solve_LR

by Alex Jordan -
Number of replies: 2
When I try to implement the solve_LR method for a matrix MathObject, I get the following error message:

Can't locate object method "lrMatrix" via package "Value::Matrix" at [PG]/lib/Value/Matrix.pm line 469 Died within Value::Matrix::solve_LR called at line 51 of (eval 2012)

I am using 2.7. Is there something missing from my installation?
In reply to Alex Jordan

Re: having trouble with $matrix->solve_LR

by David Stowell -
I am having the same trouble. Have you figured this one out?


In reply to David Stowell

Re: having trouble with $matrix->solve_LR

by Davide Cervone -
That was a typo in the MathObject Matrix package, and it was fixed nine months ago, and the fix was included in pg version 2.8. If you are running an older version, you might want to update the pg/lib/Value/Matrix.pm file to the current version. You should be able to do that without updating everything else, but I would recommend updating to the latest release, as there are a number of important changes and bug fixes.

Remember that you need to restart Apache after updating this file.