Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 722be94 commit fb9245cf424345e0bb47e72df2eab499500ada5b earonesty committed Sep 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 clipper/varcall.cpp
View
@@ -1019,7 +1019,7 @@ inline void PileupSummary::Parse(char *line, PileupReads &rds, tidx *adex, char
}
int meanreadlen = rds.MeanReadLen();
- int maxdepthbypos = meanreadlen <= 0 ? 10 : max(10, round(10 * artifact_filter * (Depth/meanreadlen)));
+ int maxdepthbypos = meanreadlen <= 0 ? 10 : min(10, round(10 * artifact_filter * (Depth/meanreadlen)));
Calls.clear();

0 comments on commit fb9245c

Please sign in to comment.