diff --git a/Post/PViewDataGModel.h b/Post/PViewDataGModel.h
index aa9dc9e4fa194690d718e9b37ffa172a20888557..9a5cf29edf2b58f68e090f9c8de8f7a10a2221b1 100644
--- a/Post/PViewDataGModel.h
+++ b/Post/PViewDataGModel.h
@@ -60,9 +60,9 @@ class stepData{
   double getTime(){ return _time; }
   void setTime(double time){ _time = time; }
   double getMin(){ return _min; }
-  double setMin(double min){ _min = min; }
+  void setMin(double min){ _min = min; }
   double getMax(){ return _max; }
-  double setMax(double max){ _max = max; }
+  void setMax(double max){ _max = max; }
   int getNumData()
   {
     if(!_data) return 0;