Skip to content

Commit

Permalink
msvc: more fixes for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 28, 2024
1 parent 94b1c3c commit 3c1299d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Advanced/Utilities/QuadPan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class QuadPan
const avnd::span<double> channels[4] = {fl, fr, bl, br};

#pragma omp simd
for(auto chan : channels)
for(int c = 0; c < 4; c++)
for(int j = 0; j < frames; j++)
chan[j] = 0.;
channels[c][j] = 0.;

const auto pl = inputs.pl.value;
const auto lr_c = std::cos((inputs.lr + 1.) * pl * std::numbers::pi);
Expand Down

0 comments on commit 3c1299d

Please sign in to comment.