From ef3b3ec9dcffcb4751b7f2215efd918eab84d8a5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 14 Sep 2012 23:50:11 -0400 Subject: [PATCH] Squelch output from partition(). --- partition.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.2