Oct-31-2020, 11:18 PM
Hello, a program hast he following line:
Can I replace it with:
Moth_fitness=numpy.full(N,float("inf"))When I try to run the program that has this line of code I receive this:
AttributeError: 'module' object has no attribute 'full'What can I do to make it work OR to replace it (I don't know what "inf" means)
Can I replace it with:
for i in range(0,N): #do something with "Moth_fitness"