Comments (7)
Hm, Optim.jl/test/multivariate/complex.jl contains similar codes, that should also fail. @pkofod can you revert?
from nlsolversbase.jl.
We should have had tests like that here. Sorry about that.
from nlsolversbase.jl.
No worries. Thanks for the quick reply!
from nlsolversbase.jl.
If you're looking for a quick fix, you can just specify the input yourself, but if I cannot find a fix, I'll just revert it(see #118) but this should work, right?
OnceDifferentiable(x -> sum(abs2, x), x0, 0.0, x0) #x-like, F-like, G-like
from nlsolversbase.jl.
Yes that workaround works, thanks.
from nlsolversbase.jl.
Yes that workaround works, thanks.
I didn't intend for that to be required for complex input though, so it's only until I get to fix this. At the very least I can special case it for !isreal
input. Again, sorry for the inconvenience.
from nlsolversbase.jl.
No worries. It's easy to overlook "special" cases such as that. Best lesson to be learned is to really put such stuff into test cases and make sure it never happens. 😄
from nlsolversbase.jl.
Related Issues (20)
- link to julianlsolvers fails HOT 1
- [doc] explicit definition of arguments HOT 8
- non-modifying fg HOT 13
- Joint Hessian and Jacobian evaluation using the TwiceDifferentiable type HOT 1
- Add option to specify ForwardDiff chunk size HOT 4
- Extending autodiff compatibilities HOT 4
- Slow loading HOT 1
- Himmelblau references in README.md HOT 2
- TagBot trigger issue HOT 7
- allow using other array types in TwiceOrderDifferentiable finite differences HOT 3
- Surprising runtime behaviour with objective types HOT 2
- Message from JET HOT 1
- Is there any documentation?
- sparse AD on OnceDifferentiableConstraints and TwiceDifferentiableConstraints
- Why are`f_calls`, `df_calls` and `h_calls` all `Vector{Int}`? HOT 1
- Precompiling NLSolversBase for Julia v 1.0.0 fails. HOT 4
- 1.0 development HOT 2
- Higher dimensionnal Hessian HOT 2
- Incorrect initialization of derivative storage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlsolversbase.jl.