This website works better with JavaScript.
Home
Explore
Help
Sign In
antkeeper
/
source
Watch
1
Star
0
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Activity
Browse Source
Make moving average constructor with capacity explicit
master
C. J. Howard
1 year ago
parent
b55ef57473
commit
f4287f3630
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/engine/math/moving-average.hpp
+ 1
- 1
src/engine/math/moving-average.hpp
View File
@ -44,7 +44,7 @@ public:
*
@
param
capacity
Sample
capacity
.
*/
/// @{
moving_average
(
std
:
:
size_t
capacity
)
:
explicit
moving_average
(
std
:
:
size_t
capacity
)
:
m_samples
(
capacity
)
{
}
moving_average
(
)
noexcept
=
default
;
Write
Preview
Loading…
Cancel
Save