1
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)
for tempv in range(0,6):
    for tempt in range(tempv+1,6):
        if SG[tempv]==SG[tempt]:
            SG[tempt]=SG[tempt]+0.000001
SG1=deepcopy(SG)

在执行此代码时。抛出此异常

jep.JepException: jep.JepException: <class 'copy.Error'>: un(deep)copyable object of type <class 'jep.PyJNumber'>
4

0 回答 0