diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69bce0c..ff9b8b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: key: ${{ matrix.name }}-${{ matrix.cross-target }} - uses: actions/cache@v4 - if: "!startsWith(matrix.os, 'windows')" + if: startsWith(matrix.os, 'windows') != true with: path: | ~/nih-plug/.cargo/registry/index/ diff --git a/rat/src/shared/float_ext.rs b/rat/src/shared/float_ext.rs index e81596d..a9f99cf 100644 --- a/rat/src/shared/float_ext.rs +++ b/rat/src/shared/float_ext.rs @@ -33,7 +33,7 @@ impl FloatExt for f32 { } fn mix(self, right: f32, factor: f32) -> Self { - self * (1. - factor) + right * factor + self + (right - self) * factor } /// This is an atan approximation