In clojush.pushgp.report/initial-report we filter out several entries in argmap that have functions as values, but problem-specific-initial-report got missed and should be added to the list.
A better solution would be to filter argmap removing any entries where the value makes fn?true.
The problem is that if we write out a function value in the EDN file we get something like
This can't be successfully read back in by the EDN reader because it (a) refers to a memory location that may not be meaningful in the new context and (b) doesn't actually contain the function definition.
We'll probably address this and @pluck011 will generate a pull request.
In
clojush.pushgp.report/initial-report
we filter out several entries inargmap
that have functions as values, butproblem-specific-initial-report
got missed and should be added to the list.A better solution would be to filter
argmap
removing any entries where the value makesfn?
true
.The problem is that if we write out a function value in the EDN file we get something like
This can't be successfully read back in by the EDN reader because it (a) refers to a memory location that may not be meaningful in the new context and (b) doesn't actually contain the function definition.
We'll probably address this and @pluck011 will generate a pull request.