13 lines
485 B
Diff
13 lines
485 B
Diff
--- gfan0.7/src/gfanlib_circuittableint.h.orig 2024-08-12 10:00:15.000000000 -0600
|
|
+++ gfan0.7/src/gfanlib_circuittableint.h 2024-08-15 16:14:29.983298300 -0600
|
|
@@ -591,7 +591,8 @@ public:
|
|
ret=min;
|
|
|
|
{
|
|
- auto ret2=CircuitTableIntPOD((s.v*denominatorDivisor.multiplicativeInverse)*boundA.v);
|
|
+ CircuitTableIntPOD ret2{};
|
|
+ ret2=(s.v*denominatorDivisor.multiplicativeInverse)*boundA.v;
|
|
ret2=MIN(ret2.v,-ret2.v);
|
|
return ret2;
|
|
if(ret.v!=ret2.v)
|