Commit 6c0465ca authored by oshahmir's avatar oshahmir
Browse files

issue with -i1

parent f08ea9c2
...@@ -274,6 +274,12 @@ int main(int aRgc, char **aRgv) { ...@@ -274,6 +274,12 @@ int main(int aRgc, char **aRgv) {
if (cmd.mSeed == 0) if (cmd.mSeed == 0)
cmd.mSeed = static_cast<unsigned int>(time(NULL)); cmd.mSeed = static_cast<unsigned int>(time(NULL));
#endif #endif
if ((cmd.mFixedBranchLength) and (cmd.mInitH0fromH1))
{
std::cout << " Either remove -bl option or remove -i1 option. Setting both at the same time is not supported !" << std::endl ;
return 0;
}
// srand(cmd.mSeed); // fastcodeml seed // srand(cmd.mSeed); // fastcodeml seed
SetSeedCodeml(cmd.mSeed, 0); // codeml seed is 1 SetSeedCodeml(cmd.mSeed, 0); // codeml seed is 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment