Changeset e4036a
- Timestamp:
- May 8, 2017, 1:51:21 PM (8 years ago)
- Branches:
- ForceAnnealing_goodresults, ForceAnnealing_tocheck
- Children:
- 7f3f9c
- Parents:
- ce254c
- git-author:
- Frederik Heber <heber@…> (03/29/17 10:58:47)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/08/17 13:51:21)
- Location:
- src/Parameters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parameters/Parameter_impl.hpp
rce254c re4036a 23 23 value(instance.value.getValidator()) 24 24 { 25 value.set(instance.value. value);25 value.set(instance.value.getUnvalidated()); 26 26 } 27 27 … … 258 258 try { 259 259 status = status && 260 ( value == _instance.value);260 (getUnvalidated() == _instance.getUnvalidated()); 261 261 status = status && (ParameterInterface::getName() == _instance.ParameterInterface::getName()); 262 262 } catch(ParameterException &e) { … … 276 276 Parameter<T> *instance = new Parameter<T>(ParameterInterface::getName(), value.getValidator()); 277 277 // do not use get, we do not check for validity here 278 if (value. ValueSet)279 instance->set(value. value);278 if (value.isSet()) 279 instance->set(value.getUnvalidated()); 280 280 return instance; 281 281 } -
src/Parameters/Value.hpp
rce254c re4036a 67 67 friend class ValueTest; 68 68 friend class ContinuousValueTest; 69 friend class Parameter<T>;69 // friend class Parameter<T>; 70 70 public: 71 71 Value();
Note:
See TracChangeset
for help on using the changeset viewer.