diff options
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; } |
