Smart-Algorithm
Smart-Algorithm copied to clipboard
遗传算法报错IndexError: index 10 is out of bounds for axis 1 with size 10
IndexError: index 10 is out of bounds for axis 1 with size 10
IndexError: index 10 is out of bounds for axis 1 with size 10
作者在将matlab转为python代码时没注意两种编程语言的数组索引的区别,你可以将m_point改为m_point - 1。