Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
anlin00007 authored Jul 5, 2019
1 parent fa5137a commit 8ae87b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/step3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void HiCnorm(vector<vector<double> > &x, int maxsz)
ts += tx[j] * tx[j];
}
tm /= (double)(l - i);
ts = sqrt(max(0.01, ts / (double)(l - i) - tm * tm));
ts = sqrt(max(1e-6, ts / (double)(l - i) - tm * tm));
for(j = 0; j < l - i; j++)
{ x[j][j+i]=(x[j][j+i]-tm)/ts + 1.;
if(i > 0) x[j+i][j]=(x[j+i][j]-tm)/ts + 1.;
Expand Down

0 comments on commit 8ae87b5

Please sign in to comment.