formatted code.
This commit is contained in:
parent
5a6edb802e
commit
5128c51b22
6 changed files with 10 additions and 10 deletions
|
@ -32,7 +32,7 @@ func getInstance(curSum float64, wSize int) *runningAverageCalculator {
|
|||
if racSingleton == nil {
|
||||
racSingleton = &runningAverageCalculator{
|
||||
considerationWindowSize: wSize,
|
||||
currentSum: curSum,
|
||||
currentSum: curSum,
|
||||
}
|
||||
return racSingleton
|
||||
} else {
|
||||
|
|
Reference in a new issue