diff options
| author | Pjotr Prins | 2025-11-27 13:42:10 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2025-11-27 13:42:10 +0100 |
| commit | eb037e2b78bc6bbeca8dde0c62f9d916e2a7bedc (patch) | |
| tree | f46bf143b93efbffdb03a0a057f777626f558243 /src/gemma.cpp | |
| parent | fad3d64d66a4705b3da33a90480c7e24c35b9c44 (diff) | |
| download | pangemma-eb037e2b78bc6bbeca8dde0c62f9d916e2a7bedc.tar.gz | |
Introduce first test
Diffstat (limited to 'src/gemma.cpp')
| -rw-r--r-- | src/gemma.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp index 38b4913..fdb19fd 100644 --- a/src/gemma.cpp +++ b/src/gemma.cpp @@ -1919,11 +1919,15 @@ void GEMMA::BatchRun(PARAM &cPar) { time_start = clock(); + if (cPar.error == true) { + cout << "error! failed to prepare for calculating relatedness matrix. " << endl; + return; + } cPar.CalcKin(G); cPar.time_G = (clock() - time_start) / (double(CLOCKS_PER_SEC) * 60.0); if (cPar.error == true) { - cout << "error! fail to calculate relatedness matrix. " << endl; + cout << "error! failed to calculate relatedness matrix. " << endl; return; } |
