From 32dc2c5396fb2d436a8f2a55174a8bad5b0fc2c4 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 3 Jul 2009 18:36:19 +0800 Subject: [PATCH] fix keyword spacing in combinatorics class Signed-off-by: Christoph Ruegg --- src/Managed/Combinatorics.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Managed/Combinatorics.cs b/src/Managed/Combinatorics.cs index 7cd0fa0d..360935cb 100644 --- a/src/Managed/Combinatorics.cs +++ b/src/Managed/Combinatorics.cs @@ -43,7 +43,7 @@ namespace MathNet.Numerics /// Maximum number of distinct variations. public static double Variations(int n, int k) { - if(k < 0 || n < 0 || k > n) + if (k < 0 || n < 0 || k > n) { return 0; } @@ -59,7 +59,7 @@ namespace MathNet.Numerics /// Maximum number of distinct variations with repetition. public static double VariationsWithRepetition(int n, int k) { - if(k < 0 || n < 0) + if (k < 0 || n < 0) { return 0; }