Closed xukai92 closed 4 years ago
Yeah, this looks good. Can you please do it for the other ones as well?
Perhaps add a test where you run the same test with 1 thread and then again with 2 threads and make sure the output matches?
Thanks!
Can you please do it for the other ones as well?
Sure.
Perhaps add a test where you run the same test with 1 thread and then again with 2 threads and make sure the output matches?
Yeah it's a good idea. Thanks.
I will do both in another PR.
This PR is to resolve https://github.com/sisl/ExprOptimization.jl/issues/12.
I only added it to
CrossEntropy
as I'm using it for most of the time. But I'm happy to do the same for others if this looks good.Besides, what should I do for the unit tests?