From 59a4bce845aea0fb8ed5888aa564e85d0f3db5e1 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Wed, 11 Jan 2017 09:14:17 +0100 Subject: [PATCH] formatting --- VectoCommon/VectoCommon/Utils/SI.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/VectoCommon/VectoCommon/Utils/SI.cs b/VectoCommon/VectoCommon/Utils/SI.cs index 8abeeea6e2..edcb5b5038 100644 --- a/VectoCommon/VectoCommon/Utils/SI.cs +++ b/VectoCommon/VectoCommon/Utils/SI.cs @@ -1915,16 +1915,16 @@ namespace TUGraz.VectoCommon.Utils if (Denominator.Any()) { if (Numerator.Any()) { return string.Concat( - Numerator.GroupBy(x => x) - .Select(x => x.Count() == 1 ? x.Key.ToString() : string.Format("{0}^{1}", x.Key, x.Count()))) + Numerator.GroupBy(x => x) + .Select(x => x.Count() == 1 ? x.Key.ToString() : string.Format("{0}^{1}", x.Key, x.Count()))) + "/" + string.Concat( Denominator.GroupBy(x => x) .Select(x => x.Count() == 1 ? x.Key.ToString() : string.Format("{0}^{1}", x.Key, x.Count()))); } return "1/" + string.Concat( - Denominator.GroupBy(x => x) - .Select(x => x.Count() == 1 ? x.Key.ToString() : string.Format("{0}^{1}", x.Key, x.Count()))); + Denominator.GroupBy(x => x) + .Select(x => x.Count() == 1 ? x.Key.ToString() : string.Format("{0}^{1}", x.Key, x.Count()))); } if (Numerator.Any()) { -- GitLab