diff scripts/optimization/__dogleg__.m @ 8986:22c8272af34b

improvements to fsolve & family
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 17 Mar 2009 08:49:08 +0100
parents eb63fbe60fab
children b7210faa3ed0
line wrap: on
line diff
--- a/scripts/optimization/__dogleg__.m	Sun Mar 15 10:09:44 2009 +0100
+++ b/scripts/optimization/__dogleg__.m	Tue Mar 17 08:49:08 2009 +0100
@@ -53,6 +53,7 @@
         alpha = 0;
       endif
     else
+      alpha = delta / xn;
       snm = 0;
     endif
     ## Form the appropriate convex combination.