Closed inikishev closed 3 months ago
Hello @inikishev!
Thanks for reporting out the bug. The C
random number was indeed wrong and caused a reshape of the tensor. The https://github.com/gugarosa/opytimizer/commit/bee31efc64e618c7042d2929c5da86fc22d65484 commit should fix the issue.
Best regards, Gustavo.
Hi!
Describe the bug If
n_variables = 10
, then the objective is evaluated with an ndarray of shape(10, 1)
. However population.EPO optimizer sometimes passes a(10, 10)
ndarray.To Reproduce
Expected behavior If n_variables is 10, then I would expect that it always evaluates with an array of size 10.
Desktop (please complete the following information): Windows 11, conda, python 3.12, Opytimizer 3.1.2 (latest on pip).