mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Const the FixedErrorFilter operator().
This commit is contained in:
parent
93b9b9d9ef
commit
727d4c8a1f
@ -91,7 +91,7 @@ class FixedErrorFilter {
|
|||||||
public:
|
public:
|
||||||
float operator()(
|
float operator()(
|
||||||
const float lateness
|
const float lateness
|
||||||
) {
|
) const {
|
||||||
return (lateness < 0.0f) ? weight : -weight;
|
return (lateness < 0.0f) ? weight : -weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user