diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-01-17 01:18:12 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-01-17 01:18:12 +0000 |
commit | dde04aba00658b2e914a3134be8438b80022a74b (patch) | |
tree | 858daaeba0901bb2e8aa9ba42e2aa357bff265a6 /converter/other | |
parent | 660f1a18ae973a0f5b155eb82bd2b9e3e0a3d4a4 (diff) | |
download | netpbm-mirror-dde04aba00658b2e914a3134be8438b80022a74b.tar.gz netpbm-mirror-dde04aba00658b2e914a3134be8438b80022a74b.tar.xz netpbm-mirror-dde04aba00658b2e914a3134be8438b80022a74b.zip |
Fix bug: out-of-domain values passed to acos()
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1101 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pamtosvg/vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pamtosvg/vector.c b/converter/other/pamtosvg/vector.c index 898666c3..7678f73a 100644 --- a/converter/other/pamtosvg/vector.c +++ b/converter/other/pamtosvg/vector.c @@ -278,7 +278,7 @@ acos_d(float const v, vAdj = v; errno = 0; - a = acos(v); + a = acos(vAdj); if (errno == ERANGE || errno == EDOM) { at_exception_fatal(excepP, strerror(errno)); retval = 0.0; |