java - Error while using deep copy in python, Jepp -
num = 6 sg=np.empty((num),dtype=object) sg=[0.001,0.002,0.003,0.004,0.005,0.006] sg1=np.empty((num),dtype=object) tempv in range(0,6): tempt in range(tempv+1,6): if sg[tempv]==sg[tempt]: sg[tempt]=sg[tempt]+0.000001 sg1=deepcopy(sg)
while executing code. exception thrown
jep.jepexception: jep.jepexception: <class 'copy.error'>: un(deep)copyable object of type <class 'jep.pyjnumber'>
Comments
Post a Comment