-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes gadma.optimize_ga is using the following way:
popt = gadma.Inference.optimize_ga(
data,
func_ex,
engine='dadi',
args=pts,
p_ids = p_ids,
X_init= [p0],
lower_bound=lower_bound,
upper_bound=upper_bound,
verbose=1)
In that case there is an error:
UserWarning: Error occurred during caching: evaluate() takes 3 positional arguments but 5 were given.
The correct way of usage is: args=(pts,),. It would be great to add an extra check when args are misspecified.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request