]> gitweb.michael.orlitzky.com - octave.git/commitdiff
Fix an inline #-comment.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 22 Mar 2013 20:37:20 +0000 (16:37 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 22 Mar 2013 20:37:20 +0000 (16:37 -0400)
optimization/steepest_descent.m

index 7a437d36ad529c7f47bc1d2674bf75fb074e3beb..4fb332950b26c055a237ec34c1e04a9a249c0fd4 100644 (file)
@@ -54,7 +54,7 @@ function [x, k] = steepest_descent(g, x0, step_size, tolerance, max_iterations)
     % condition (number of iterations).
 
     if (norm(gk) < tolerance)
-      # This catches the k=0 case, too.
+      % This catches the k=0 case, too.
       x = xk;
       return;
     end