Skip to content

Commit

Permalink
Fixed Num Of CPUs Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jun 9, 2015
1 parent 38ea334 commit 32582b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Honeybee_Honeybee.py
Expand Up @@ -30,7 +30,7 @@

ghenv.Component.Name = "Honeybee_Honeybee"
ghenv.Component.NickName = 'Honeybee'
ghenv.Component.Message = 'VER 0.0.56\nMAY_31_2015'
ghenv.Component.Message = 'VER 0.0.56\nJUN_08_2015'
ghenv.Component.Category = "Honeybee"
ghenv.Component.SubCategory = "00 | Honeybee"
try: ghenv.Component.AdditionalHelpFromDocStrings = "1"
Expand Down Expand Up @@ -1501,7 +1501,7 @@ def writeTestPtFile(self, subWorkingDir, radFileName, numOfCPUs, analysisRecipe)
flattenPtsNormals = self.lb_preparation.flattenList(ptsNormals)
numOfPoints = len(flattenTestPoints)

if numOfCPUs > numOfPoints: numOfCPUs = numOfCPUs
if numOfCPUs > numOfPoints: numOfCPUs = numOfPoints

if numOfCPUs > 1:
ptsEachCpu = int(numOfPoints/(numOfCPUs))
Expand Down
Binary file modified userObjects/Honeybee_Honeybee.ghuser
Binary file not shown.

0 comments on commit 32582b2

Please sign in to comment.