We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6024050 commit 64bfdeeCopy full SHA for 64bfdee
1 file changed
core/src/main/kotlin/org/evomaster/core/search/gene/Gene.kt
@@ -1207,8 +1207,11 @@ abstract class Gene(
1207
val ok = updateValue()
1208
1209
if (!ok || (currentlyValid && !isGloballyValid())) {
1210
+ //revert back
1211
val success = unsafeCopyValueFrom(current)
- assert(success)
1212
+ //reversion should always work... if fails, it is a bug
1213
+ // FIXME put back once all are implemented, eg, TaintedMapGene currently missing
1214
+ //assert(success)
1215
return false
1216
}
1217
return true
0 commit comments