Source

BayesOpt / python / bayesopt.pyx

Diff from to

File python/bayesopt.pyx

     x_np = np.zeros(n)
     for i in range(0,n):
         x_np[i] = <double>x[i]
-        result = (<object>func_data)(x_np)
+    result = (<object>func_data)(x_np)
     return result