Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/biology/gcta/files/patch-ld.cpp
16146 views
1
--- ld.cpp.orig 2020-04-15 12:56:27 UTC
2
+++ ld.cpp
3
@@ -1004,7 +1004,9 @@ void gcta::calcu_max_ld_rsq_blk(eigenVector &multi_rsq
4
}
5
6
7
- SelfAdjointEigenSolver<MatrixXf> pca(rsq_sub.array());
8
+ // Fixed compile by removing .array(). Not sure about the validity
9
+ // of this change, but it seemed reasonable based on constructor docs.
10
+ SelfAdjointEigenSolver<MatrixXf> pca(rsq_sub);
11
12
// debug
13
// ofstream tmp("tmp_R.txt");
14
15