Use var where possible

This commit is contained in:
Dean Herbert 2018-06-21 17:49:04 +09:00
parent c64f64814f
commit 34498f7f86
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ private double calculateDifficulty(List<CatchDifficultyHitObject> objects, doubl
double actualStrainStep = strain_step * timeRate;
// Find the highest strain value within each strain step
List<double> highestStrains = new List<double>();
var highestStrains = new List<double>();
double intervalEndTime = actualStrainStep;
double maximumStrain = 0; // We need to keep track of the maximum strain in the current interval