Skip to content

Commit

Permalink
fix a bug in smooth-ssf
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianruipku committed Oct 30, 2022
1 parent 98591c1 commit 7df24d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ssf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ void SSF::write_smoothssf(const float *G_1D,const float *sf, const int *nG_1D, c
{
float G = G_1D[i];
int nG = nG_1D[i];
if(G < 1e-6) continue;
if(int(G/dG) == i0)
{
tm_pre += nG;
Expand Down

0 comments on commit 7df24d3

Please sign in to comment.