Open shi-yan opened 5 years ago
I tried a different SVD lib, https://github.com/danilosalvati/svd-js
it works.
It seems that you are using the lalolib.js version from mlweb.loria.fr. Can you try with the latest version from GitHub? It seems that I cannot reproduce the bug with this version. (I cannot update the version at mlweb.loria.fr before a few days)
I am getting this bug on Chrome 81 in Ubuntu, using the latest library from github, with the command
let svdR = svd(R, "thinU");
I've attached an example of data that caused it to crash.
ik.zip
The attached html file is an experiment of inverse kinematics. After a few iterations (by clicking the update button),
the web browser will freeze in SVD calculation.
Chrome says it is in GolubKahanSVDstep, firefox also freezes with no callstack.