Skip to content

Commit

Permalink
micro-optimisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
colgreen committed Dec 4, 2023
1 parent c3397a1 commit 3bde4e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private double GetDistanceFromNearestSeed(List<NeatGenome<T>> seedGenomeList, Ne
return minDistance;
}

private static U GetAndRemove<U>(IList<U> list, int idx)
private static U GetAndRemove<U>(List<U> list, int idx)
{
U tmp = list[idx];
list.RemoveAt(idx);
Expand Down

0 comments on commit 3bde4e9

Please sign in to comment.