---
 src/plgradient.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/plgradient.c b/src/plgradient.c
index d864d0a..57ab581 100644
--- a/src/plgradient.c
+++ b/src/plgradient.c
@@ -145,9 +145,11 @@ c_plgradient( PLINT n, PLFLT *x, PLFLT *y, PLFLT angle )
         }
         plP_plfclp( xpoly, ypoly, n, plsc->clpxmi, plsc->clpxma,
             plsc->clpymi, plsc->clpyma, plP_gradient );
+#ifdef DEBUG
         /* Plot line corresponding to gradient to give visual
          * debugging cue. */
         plline( NGRAD, dxgrad, dygrad );
+#endif
     }
 }
 
-- 
1.7.0


------------------------------------------------------------------------------
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

Reply via email to