]> gitweb.michael.orlitzky.com - octave.git/blobdiff - optimization/steepest_descent.m
Fix an inline #-comment.
[octave.git] / 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