ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/RcontribSimulManager.cpp
(Generate patch)

Comparing ray/src/rt/RcontribSimulManager.cpp (file contents):
Revision 2.5 by greg, Fri Nov 1 23:05:01 2024 UTC vs.
Revision 2.6 by greg, Wed Nov 6 18:28:52 2024 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines