WeBWorK Problems


Re: /maCalcDB/setDerivatives7Log/mec8.pg

by Davide Cervone -
Number of replies: 0
Looking at the diagnostics told me that the limits are not being properly applied, since the graphs run from -2 to 2 (the default limits) rather than 5 to 10, as expected. That made me look more carefully at where they are set, and I noticed that they are being set improperly. It should be
with variables rather than flags.

Unfortunately, changing this didn't fix the problem either (though is should have) and I don't have the time at the moment to look into it further. In the meantime, you can do

to set the default limits for EVERYTHING (and yes, this one IS flags), or you can use
    $Deriv1 = $Funct->D->with(limits=>[5,10]);
as any of these do work.