I could fix by adding to the err function a section which set an err value at limit value when param1→0 if pram1=0. -- View this message in context: http://mailinglists.scilab.org/lsqrsolve-tp4032132p4032151.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.