diff options
Diffstat (limited to 'biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp')
-rw-r--r-- | biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp b/biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp deleted file mode 100644 index 51a1ef896340..000000000000 --- a/biology/bolt-lmm/files/patch-src_LDscoreCalibration.cpp +++ /dev/null @@ -1,24 +0,0 @@ ---- src/LDscoreCalibration.cpp.orig 2019-08-03 00:18:05 UTC -+++ src/LDscoreCalibration.cpp -@@ -201,8 +201,8 @@ namespace LDscoreCalibration { - snps[m].MAF >= minMAF && // MAF threshold - statsRef[m] > 0 && // ref stat available - statsCur[m] > 0 && // cur stat available -- !isnan(LDscores[m]) && // LD Score available -- !isnan(LDscoresChip[m]); // LD Score weight available -+ !std::isnan(LDscores[m]) && // LD Score available -+ !std::isnan(LDscoresChip[m]); // LD Score weight available - - // perform outlier removal - double outlierChisqThresh = std::max(MIN_OUTLIER_CHISQ_THRESH, N * outlierVarFracThresh); -@@ -256,8 +256,8 @@ namespace LDscoreCalibration { - maskSnps[m] = - snps[m].MAF >= minMAF && // MAF threshold - stats[m] > 0 && // stat available -- !isnan(LDscores[m]) && // LD Score available -- !isnan(LDscoresChip[m]); // LD Score weight available -+ !std::isnan(LDscores[m]) && // LD Score available -+ !std::isnan(LDscoresChip[m]); // LD Score weight available - - // perform outlier removal - double outlierChisqThresh = std::max(MIN_OUTLIER_CHISQ_THRESH, N * outlierVarFracThresh); |