From: stefan <st...@lk...> - 2004-09-09 15:21:43
|
On Wed, 8 Sep 2004, Markus Schaber wrote: > But the above fix using double() works, as it seems. > > I could have looked into this myself, just did not have the time right > now. > > Could someone with CVS write permissions apply the following patch? > > diff -u -r1.35 diagram.cpp > --- qucs/diagrams/diagram.cpp 4 Sep 2004 07:37:33 -0000 1.35 > +++ qucs/diagrams/diagram.cpp 8 Sep 2004 13:00:26 -0000 > @@ -233,7 +233,7 @@ > *(p++) = ytmp; > continue; > } > - alpha = atan2(dy, dx); // slope for interpolation > + alpha = std::atan2(double(dy), double(dx)); // slope for interpolation > while(dist > 0) { // stroke or space finished ? > if(p >= p_end) { // need to enlarge memory block ? > Size += 256; A just applied that patch. Can you please check whether that works now? Cheers, st...@lk... |