diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-30 18:13:43 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-11-30 18:13:43 +0000 |
commit | 9e4c82a3e5d4aa207033ec7bf7e1a08d33fbff2b (patch) | |
tree | bf31215306985b4ae368ed0c26a160c7f0a8b93a /math/kseg | |
parent | - Unbreak on 5.x (diff) |
- 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
Diffstat (limited to 'math/kseg')
-rw-r--r-- | math/kseg/files/patch-G_pointLocus.cpp | 11 |
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(); |