Open GoogleCodeExporter opened 8 years ago
I get this problem too, except I start getting it after around 1000 days and
several reloads. Relaunching the application seems to "fix" it for me.
Original comment by jare...@gmail.com
on 18 Jul 2010 at 3:11
Weird. Does this still happen (for either of you)? I wonder if it was a bug
with the version of Pygame packaged with 0.30. Try a slightly newer version?
Original comment by phil.bor...@gmail.com
on 29 Mar 2012 at 7:11
Phil, I can confirm this: it was reported in Ubuntu
https://bugs.launchpad.net/ubuntu/+source/singularity/+bug/931037 and the user
attached a saved game that triggers the bug even in git master, which I'm
attaching here too.
It happens in the line "return complete[self.total_cost > 0].min()" when
self.total_cost is [0 0 0] and complete is [inf inf inf], both ndarrays. The
item itself is an MK3 with count = 0 (a batch of 0 CPUs) and done = False
(don't ask me how this happened)
Looks like a low-hanging fruit: can easily trace its roots to learn how this
scenario of a 0-cpu item was added to the base, or simply hammer in an "if"
somewhere to deal with such arrays before passing it to .min()
Original comment by singular...@rodrigosilva.com
on 20 Dec 2012 at 1:22
Attachments:
Original issue reported on code.google.com by
penguins...@gmail.com
on 27 Apr 2010 at 11:47Attachments: