mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 20:35:42 +00:00
Const the FixedErrorFilter operator().
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user