Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikaLos committed Dec 4, 2023
1 parent fe99c2a commit 57ea0f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ public INodeResultSubset<IFootfall, ResultFootfall<NodeExtremaKey>> ResultSubset
return new NodeFootfalls(Cache.GetSubset(nodeIds));
}

private bool IsInvalid(KeyValuePair<int, ReadOnlyCollection<NodeFootfallResult>> kvp) {
return kvp.Value.Any(res => double.IsNaN(res.MaximumResponseFactor));
}

private bool IsInvalid(KeyValuePair<int, NodeFootfallResult> kvp) {
return double.IsNaN(kvp.Value.MaximumResponseFactor);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ public INodeResultSubset<IFootfall, ResultFootfall<NodeExtremaKey>> ResultSubset

return new NodeFootfalls(Cache.GetSubset(nodeIds));
}

private bool IsInvalid(KeyValuePair<int, ReadOnlyCollection<NodeFootfallResult>> kvp) {
return kvp.Value.Any(res => double.IsNaN(res.MaximumResponseFactor));
}

private bool IsInvalid(KeyValuePair<int, NodeFootfallResult> kvp) {
return double.IsNaN(kvp.Value.MaximumResponseFactor);
}
Expand Down

0 comments on commit 57ea0f0

Please sign in to comment.