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

Please provide an initial x for your Optim objectives #5

Closed
pkofod opened this issue Jan 6, 2018 · 2 comments
Closed

Please provide an initial x for your Optim objectives #5

pkofod opened this issue Jan 6, 2018 · 2 comments

Comments

@pkofod
Copy link

pkofod commented Jan 6, 2018

The style you use here https://github.com/lbittarello/Microeconometrics.jl/blob/master/src/estimation/logit.jl#L93 and other places is no longer valid. I suggest you seed your constructor

TwiceDifferentiable(f, g!, fg!, h!, β, eltype(β))

for now. The last positional argument eltype(β) shouldn't be there, that's a bug. I'll add the following constructor asap.

TwiceDifferentiable(f, g!, fg!, h!, β)
@pkofod
Copy link
Author

pkofod commented Jan 9, 2018

Constructor version two should work now

@lbittarello
Copy link
Owner

Thanks for the warning!

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