From 57ea0f0d8e9aaf316988ac514cb96c00a2b21194 Mon Sep 17 00:00:00 2001 From: DominikaLos Date: Mon, 4 Dec 2023 13:09:21 +0100 Subject: [PATCH] clean up --- .../5_Results/3_Caches/NodeResonantFootfallCache.cs | 4 ---- .../5_Results/3_Caches/NodeTransientFootfallCache.cs | 5 ----- 2 files changed, 9 deletions(-) diff --git a/GsaGH/Parameters/5_Results/3_Caches/NodeResonantFootfallCache.cs b/GsaGH/Parameters/5_Results/3_Caches/NodeResonantFootfallCache.cs index 4b5fd4e11..873d7034e 100644 --- a/GsaGH/Parameters/5_Results/3_Caches/NodeResonantFootfallCache.cs +++ b/GsaGH/Parameters/5_Results/3_Caches/NodeResonantFootfallCache.cs @@ -38,10 +38,6 @@ public INodeResultSubset> ResultSubset return new NodeFootfalls(Cache.GetSubset(nodeIds)); } - private bool IsInvalid(KeyValuePair> kvp) { - return kvp.Value.Any(res => double.IsNaN(res.MaximumResponseFactor)); - } - private bool IsInvalid(KeyValuePair kvp) { return double.IsNaN(kvp.Value.MaximumResponseFactor); } diff --git a/GsaGH/Parameters/5_Results/3_Caches/NodeTransientFootfallCache.cs b/GsaGH/Parameters/5_Results/3_Caches/NodeTransientFootfallCache.cs index 4189373ea..c20b26b18 100644 --- a/GsaGH/Parameters/5_Results/3_Caches/NodeTransientFootfallCache.cs +++ b/GsaGH/Parameters/5_Results/3_Caches/NodeTransientFootfallCache.cs @@ -38,11 +38,6 @@ public INodeResultSubset> ResultSubset return new NodeFootfalls(Cache.GetSubset(nodeIds)); } - - private bool IsInvalid(KeyValuePair> kvp) { - return kvp.Value.Any(res => double.IsNaN(res.MaximumResponseFactor)); - } - private bool IsInvalid(KeyValuePair kvp) { return double.IsNaN(kvp.Value.MaximumResponseFactor); }