From: Michael Orlitzky Date: Sat, 15 Sep 2012 03:50:11 +0000 (-0400) Subject: Squelch output from partition(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ef3b3ec9dcffcb4751b7f2215efd918eab84d8a5;p=octave.git Squelch output from partition(). --- diff --git a/partition.m b/partition.m index ac616cf..96ded5e 100644 --- a/partition.m +++ b/partition.m @@ -22,7 +22,7 @@ function [p,delta] = partition(integerN, a, b) ## We don't use abs() here because `b` might be less than `a`. In that ## case, we want delta negative so that when we add it to `a`, we move ## towards `b`. - delta = (b - a)/integerN + delta = (b - a)/integerN; - p = [a : delta : b] + p = [a : delta : b]; end