Index: /branches/eam_branches/20090820/psLib/src/math/psStats.c
===================================================================
--- /branches/eam_branches/20090820/psLib/src/math/psStats.c	(revision 25162)
+++ /branches/eam_branches/20090820/psLib/src/math/psStats.c	(revision 25163)
@@ -1894,4 +1894,5 @@
 
             if (!status) {
+	        psErrorClear();
                 COUNT_WARNING(10, 100, "Failed to fit a gaussian to the robust histogram.\n");
                 psFree(poly);
@@ -1983,4 +1984,5 @@
 
             if (!status) {
+	        psErrorClear();
                 COUNT_WARNING(10, 100, "Failed to fit a gaussian to the robust histogram.\n");
                 psFree(poly);
