Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored and github-actions[bot] committed Nov 15, 2024
1 parent 09d40e9 commit 0c6d8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layer/spectrogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ int Spectrogram::forward(const Mat& bottom_blob, Mat& top_blob, const Option& op
// dft
double angle = 2 * M_PI * i * k / n_fft;

re += v * cos(angle);// + imag * sin(angle);
im -= v * sin(angle);// + imag * cos(angle);
re += v * cos(angle); // + imag * sin(angle);
im -= v * sin(angle); // + imag * cos(angle);
}

// fprintf(stderr, "%.2f %.2f %.2f %.2f\n", re, im, magnitude, power);
Expand Down

0 comments on commit 0c6d8d0

Please sign in to comment.