aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-30 18:13:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-30 18:13:43 +0000
commit9e4c82a3e5d4aa207033ec7bf7e1a08d33fbff2b (patch)
treebf31215306985b4ae368ed0c26a160c7f0a8b93a
parent4fa5a1eaabc4f8f7ac6dfcfec09d071945e0ff02 (diff)
downloadports-9e4c82a3e5d4aa207033ec7bf7e1a08d33fbff2b.tar.gz
ports-9e4c82a3e5d4aa207033ec7bf7e1a08d33fbff2b.zip
- Fix build on 5.x
PR: ports/59810 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> Approved by: marcus (portmgr) Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94829
-rw-r--r--math/kseg/files/patch-G_pointLocus.cpp11
1 files changed, 11 insertions, 0 deletions
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();