Hi all,
I have a problem which checks an answer using cplx_cmp , viz.,
$ans = cplx(0,-1*sqrt(2*$b*$c2)); ... ANS( cplx_cmp( $ans ) );
I find that when a student enters an answer involving a square root, the message "Ambiguous call resolved as CORE::sqrt(), qualify as such or use & "
is logged to the server's httpd error log. The problem is marked
correctly, which is good, but the accumulation of error messages seems
unnecessary.
My first guess would be that this has something to do with the overloading of sqrt in the complex numbers package. Can someone point me in the direction of a fix?
Thanks,
Gavin
<| Post or View Comments |>
|