summaryrefslogtreecommitdiffstats
path: root/math/kseg/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-30 18:13:43 +0000
committerpav <pav@FreeBSD.org>2003-11-30 18:13:43 +0000
commit2eff30392b65da3ed4063df0e7774c082dcc4627 (patch)
treed100ebc544988bdd5f1fe97a2f44ee977f2b518f /math/kseg/files
parent3b8ac7528545f8abf1b435eba84e76a38c78cb28 (diff)
downloadFreeBSD-ports-2eff30392b65da3ed4063df0e7774c082dcc4627.zip
FreeBSD-ports-2eff30392b65da3ed4063df0e7774c082dcc4627.tar.gz
- Fix build on 5.x
PR: ports/59810 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> Approved by: marcus (portmgr) Approved by: adamw (mentor)
Diffstat (limited to 'math/kseg/files')
-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 0000000..5e92ea0
--- /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();
OpenPOWER on IntegriCloud