From 9e4c82a3e5d4aa207033ec7bf7e1a08d33fbff2b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 30 Nov 2003 18:13:43 +0000 Subject: - Fix build on 5.x PR: ports/59810 Submitted by: Markus Brueffer Approved by: marcus (portmgr) Approved by: adamw (mentor) --- math/kseg/files/patch-G_pointLocus.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/kseg/files/patch-G_pointLocus.cpp diff --git a/math/kseg/files/patch-G_pointLocus.cpp b/math/kseg/files/patch-G_pointLocus.cpp new file mode 100644 index 000000000000..5e92ea002bc6 --- /dev/null +++ b/math/kseg/files/patch-G_pointLocus.cpp @@ -0,0 +1,11 @@ +--- G_pointLocus.cpp.orig Sat Nov 29 04:52:07 2003 ++++ G_pointLocus.cpp Sat Nov 29 04:54:38 2003 +@@ -283,7 +283,7 @@ + } + else discontCount = 0; //number of times the goodness decreased--for finding discontinuities + +- if(discontCount > log(maxSamples) / 1.5) { ++ if(discontCount > log((double)maxSamples) / 1.5) { + points[0].loc = G_point::inValid(); + points[points[0].next].loc = G_point::inValid(); + points[points[0].prev].loc = G_point::inValid(); -- cgit v1.2.3