ljvmiranda921/pyswarms

Regarding UFuncTypeError np error of 'same_kind' Rule

AfnanTurky opened this issue · 1 comments

Describe the bug
when trying to add float np array into int np array the following error occur:
image

Since the Adding operation "+=" cannot store float in int arry
To Reproduce
Replace this operation with this one:

temp_position = temp_position + swarm.velocity

stale commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.