python overflowError

mac2022-06-30  127

计算pow函数出现溢出错误

math.pow((N*N),dvc) OverflowError: math range error

解决方法:

用numpy.power代替

转载于:https://www.cnblogs.com/Shinered/p/9660953.html

最新回复(0)