diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2013-06-12 20:03:25 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2013-06-12 20:03:25 +0000 |
commit | f198956ce9db53f4178f0444c1b098d43591222a (patch) | |
tree | 48cfcb2035db29b79f0aa483e0e92a341c423ab9 /science | |
parent | 59fe3e18bc74414060858dad4d5055f391a07845 (diff) | |
download | ports-f198956ce9db53f4178f0444c1b098d43591222a.tar.gz ports-f198956ce9db53f4178f0444c1b098d43591222a.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/medit/files/patch-sources_ellipse.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/science/medit/files/patch-sources_ellipse.c b/science/medit/files/patch-sources_ellipse.c new file mode 100644 index 000000000000..d1f8e4905955 --- /dev/null +++ b/science/medit/files/patch-sources_ellipse.c @@ -0,0 +1,20 @@ +--- sources/ellipse.c.orig 2012-02-04 12:58:25.000000000 +0100 ++++ sources/ellipse.c 2013-06-12 19:41:30.000000000 +0200 +@@ -278,7 +278,7 @@ + m[0] = ps->m[0]; + m[1] = ps->m[1]; + m[2] = ps->m[2]; +- if ( !eigen2(m,lambda,vp) ) return; ++ if ( !eigen2(m,lambda,vp) ) return(0); + + /* consider eigenvalues as sizes */ + dd1 = 1.0 / sqrt(fabs(lambda[0])); +@@ -306,7 +306,7 @@ + m[0] = ps->m[0]; + m[1] = ps->m[1]; + m[2] = ps->m[2]; +- if ( !eigen2(m,lambda,vp) ) return; ++ if ( !eigen2(m,lambda,vp) ) return(0); + + /* consider eigenvalues as sizes */ + dd1 = 1.0 / sqrt(fabs(lambda[0])); |