# | Line 800 | Line 800 | RcontribSimulManager::SetThreadCount(int nt) | |
---|---|---|
800 | return 0; | |
801 | } | |
802 | if (nt < 0) | |
803 | < | return nkids; |
803 | > | return NThreads(); |
804 | if (!nt) nt = GetNCores(); | |
805 | int status = 0; | |
806 | if (nt == 1) | |
# | Line 813 | Line 813 | RcontribSimulManager::SetThreadCount(int nt) | |
813 | sprintf(errmsg, "non-zero (%d) status from child", status); | |
814 | error(WARNING, errmsg); | |
815 | } | |
816 | < | return nkids; |
816 | > | return NThreads(); |
817 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |