This fixes a parameter ordering problem in plfimage's call to the minmax
operator function.
---
src/plimage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/plimage.c b/src/plimage.c
index bfa5ef7..d18b5cf 100644
--- a/src/plimage.c
+++ b/src/plimage.c
@@ -363,7 +363,7 @@ plfimage( PLF2OPS idataops, PLPointer idatap, PLINT nx, PLINT ny,
/* Find the minimum and maximum values in the image. Use these values to
* for the color scale range. */
- idataops->minmax( idatap, nx, ny, &data_max, &data_min );
+ idataops->minmax( idatap, nx, ny, &data_min, &data_max );
if ( xmin == Dxmin && xmax == Dxmax && ymin == Dymin && ymax == Dymax )
{
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel