Bug#474313: Infinite loop when creating 100uF capacitor in circuit

2008-08-15 Thread Petter Reinholdtsen
[Richard Atterer] > My fix is to perform the above comparison on the two values (integer > and multiplier) rather than the combined double. The patch is > attached. I've only tested it lightly! Comparing doubles using == is probably not a reliable test. Perhaps it is better to use (!islessgreater

Bug#474313: Infinite loop when creating 100uF capacitor in circuit

2008-04-04 Thread Richard Atterer
Package: ktechlab Version: 0.3-8 Severity: important Any attempt to create a 100uF capacitor causes the application to freeze at 100% CPU. This only happens at exactly 100uF - something like 99uF is OK. To reproduce, start ktechlab, create a new circuit, drag a capacitor onto it, select the cap