Skip to content

Commit

Permalink
fix clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
voutcn committed Jul 14, 2019
1 parent 33ccdf2 commit 2b9b368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/assembly/sdbg_pruning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ double InferMinDepth(SDBG &dbg) {
hist.TrimLow(static_cast<mul_t>(roundf(cov)));
unsigned median = hist.median();
double cov1 = sqrt(median);
if (abs(cov - cov1) < 1e-2) {
if (fabs(cov - cov1) < 1e-2) {
return cov;
}
cov = cov1;
Expand Down
1 change: 1 addition & 0 deletions src/main_local_assemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <omp.h>
#include <iostream>
#include <string>
#include <stdexcept>

#include "localasm/local_assemble.h"
#include "utils/options_description.h"
Expand Down

0 comments on commit 2b9b368

Please sign in to comment.