Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is f_calls not the same shape as F? #41

Closed
mohamed82008 opened this issue Feb 13, 2018 · 4 comments
Closed

Why is f_calls not the same shape as F? #41

mohamed82008 opened this issue Feb 13, 2018 · 4 comments

Comments

@mohamed82008
Copy link

NonDifferentiable{TF,typeof(x),Val{iscomplex}}(f, F, x_of_nans(x), [0,])

The same thing is there with other objective types.

@pkofod
Copy link
Member

pkofod commented Feb 14, 2018

What do you mean ? f_calls is a counter, why would they be related?

@mohamed82008
Copy link
Author

Oh ok because it is a vector in a mutable, so I thought it must be 1 counter for each objective or something. But I realize all the objectives are computed by the same function f so this has to be only 1 number. But then there is no need for it to be a vector because the struct is mutable.

@pkofod
Copy link
Member

pkofod commented Feb 14, 2018

I wonder if it wasn't earlier. Hmm

@mohamed82008
Copy link
Author

Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants