Changeset 743 for cpp/frams/genetics
- Timestamp:
- 02/26/18 19:57:44 (7 years ago)
- Location:
- cpp/frams/genetics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpp/frams/genetics/f1/conv_f1.cpp ¶
r732 r743 454 454 else if ((i = last_f1_neuro->extraProperties().findIdn(begin, colon - begin)) >= 0) 455 455 { 456 last_f1_neuro->extraProperties().set (i, colon + 1);456 last_f1_neuro->extraProperties().setFromString(i, colon + 1); 457 457 } 458 458 else if (isupper(begin[0]) || strchr("*|@", begin[0])) -
TabularUnified cpp/frams/genetics/oper_fx.cpp ¶
r673 r743 50 50 { 51 51 double _mn = 0, _mx = 1, _def = 0.5; 52 defined = p->getMinMax (i, _mn, _mx, _def);52 defined = p->getMinMaxDouble(i, _mn, _mx, _def); 53 53 if (defined == 1) _mx = _mn + 1.0; 54 54 if (_mx < _mn && defined == 3) _mn = _mx = _def; //only default was defined, let's assume min=max=default … … 59 59 { 60 60 paInt _mn = 0, _mx = 1, _def = 0; 61 defined = p->getMinMax (i, _mn, _mx, _def);61 defined = p->getMinMaxInt(i, _mn, _mx, _def); 62 62 if (defined == 1) _mx = _mn + 1; 63 63 if (_mx < _mn && defined == 3) _mn = _mx = _def; //only default was defined, let's assume min=max=default
Note: See TracChangeset
for help on using the changeset viewer.