]> gitweb.michael.orlitzky.com - octave.git/commitdiff
Fix a comment.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 25 Feb 2013 14:34:45 +0000 (09:34 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 25 Feb 2013 14:34:45 +0000 (09:34 -0500)
advection_matrix_sparse.m

index ce45e159d84f0d28510240ee08c145833ca8ce78..a89536cbd11859212464d840f6e369e418418d61 100644 (file)
@@ -13,7 +13,7 @@ function S = advection_matrix_sparse(integerN)
   top = [ [zeros(integerN-1, 1), speye(integerN-1)]; ...
           zeros(1, integerN)];
 
   top = [ [zeros(integerN-1, 1), speye(integerN-1)]; ...
           zeros(1, integerN)];
 
-  ## The ones directly below the diagonal.
+  ## The negative ones directly below the diagonal.
   bottom = [ [zeros(1, integerN-1); ...
             -speye(integerN-1)    ], zeros(integerN, 1)];
 
   bottom = [ [zeros(1, integerN-1); ...
             -speye(integerN-1)    ], zeros(integerN, 1)];