Skip to content

Commit

Permalink
get average as same type than elements
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Apr 28, 2023
1 parent 44ac7ca commit 4c69aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mk2_3phase_RFdatalog_temp/movingAvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class movingAvg
} while (i);
}

float getAverage() const
auto getAverage() const
{
return _sum / N;
}
Expand Down

0 comments on commit 4c69aa2

Please sign in to comment.