Closed insperatum closed 10 years ago
For example: argmin(-3 until 3) {x => x*x} returns -3 rather than 0
argmin(-3 until 3) {x => x*x}
Nice catch! Could you add a unit test / spec to OptimizeByInferenceSpecs that captures this issue?
I did fix this issue superficially now and added a spec. We can show you how this works when you start.
For example:
argmin(-3 until 3) {x => x*x}
returns -3 rather than 0