diff options
| -rw-r--r-- | core/fitter.hpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp index 7234ff4..996d4c1 100644 --- a/core/fitter.hpp +++ b/core/fitter.hpp @@ -382,6 +382,10 @@ namespace opt_utilities       */
      param_info& operator=(const param_info& rhs)
      {
 +      if(this==&rhs)
 +	{
 +	  return *this;
 +	}
        name=rhs.name;
        description=rhs.description;
        opt_eq(value,rhs.value);
  | 
