Fix bad behavior in discrete swarm generation
Fix bad behavior in discrete swarm generation

Sometimes your swarm can generate a pure 0 or pure 1 vector,
we should account that.

Signed-off-by: Lester James V. Miranda <0fcd6cb7b940f870a2858a36ed4ad82651772677@gmail.com>

ljvmiranda921/pyswarms,ljvmiranda921/pyswarms