← Back to team overview

yade-users team mailing list archive

Re: [Question #258445]: Problems in 3D simulation with PSC

 

Question #258445 on Yade changed:
https://answers.launchpad.net/yade/+question/258445

Fu zuoguang gave more information on the question:
error information:
###########################################################
ValueError                                Traceback (most recent call last)
/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/__init__.py in refreshEvent(self)
    196         def zxySlot(self): self.setViewAxes((0,-1,0),(1,0,0))
    197         def refreshEvent(self):
--> 198                 self.refreshValues()
    199                 self.activateControls()
    200         def deactivateControls(self):

/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/__init__.py in refreshValues(self)
    269                         self.iterLabel.setText('#%ld / %ld, %.1f/s %s'%(O.iter,stopAtIter,self.iterPerSec,subStepInfo))
    270                 if t!=float('inf'):
--> 271                         s=int(t); ms=int(t*1000)%1000; us=int(t*1000000)%1000; ns=int(t*1000000000)%1000
    272                         self.virtTimeLabel.setText(u'%03ds%03dm%03dμ%03dn'%(s,ms,us,ns))
    273                 else: self.virtTimeLabel.setText(u'[ ∞ ] ?!')

ValueError: cannot convert float NaN to integer

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.