diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2000-03-21 16:55:43 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2000-03-21 16:55:43 +0000 |
| commit | 8bd626e8dc73ff5ace8523ed3601b1d0bdb03452 (patch) | |
| tree | 84f8a61ec6525db70fe2c9a162e0fb7333b8fcd5 | |
| parent | 82daf1c246a8fc5c7c4045777c1bb5028d6df335 (diff) | |
| download | PROJ-8bd626e8dc73ff5ace8523ed3601b1d0bdb03452.tar.gz PROJ-8bd626e8dc73ff5ace8523ed3601b1d0bdb03452.zip | |
Simplified biveval() to avoid bug in SGI compiler. Patch supplied
by Chris (imap@chesapeake.net).
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@784 4e78687f-474d-0410-85f9-8d5e500ac6b2
| -rw-r--r-- | src/biveval.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/biveval.c b/src/biveval.c index ba34e085..5dca4792 100644 --- a/src/biveval.c +++ b/src/biveval.c @@ -77,7 +77,14 @@ bpseval(projUV in, Tseries *T) { } return out; } - projUV /* general entry point selecting evaluation mode */ + +projUV /* general entry point selecting evaluation mode */ biveval(projUV in, Tseries *T) { - return (T->power ? bpseval(in, T) : bcheval(in, T)); + + if (T->power) { + return bpseval(in, T); + } else { + return bcheval(in, T); + } } + |
