Rafael Schouten

Results 1285 comments of Rafael Schouten

Annoyingly, updating a `LookupArray` when indexing with a steprange goes from 17ns to 250ns with this instability. It's nothing when you are working with large arrays but annoying if you're...

By the way the easy fix is: ```julia A = set(A, Y => DimentionalData.ReverseOrdered()) ```

By wrapper you mean `[ ]` ? You're right, currently it's kind of annoying. The reason it is like this is because the vector was an input to the`@implements` macro....

> But I thought you agreed to that change because it allowed the interface user to define that vector of objects, instead of the interface writer? That's really important in...

Yeah, it requires reverting half the changes that have been made 😅 `@implements` needs objects to test, and to output a function that runs tests during precompilation. There is a...

Oops was writing when you posted. Yeah I think TestObjectWrapper was required for dispatch back when it was used in `@implements`.

Either way, I'm thinking youre right, it would be good to remove the requirement to have a vector, but to also allow it

At least its a hidden ugly wrapper...

Ok here's a MWE with `rosenbrock`: ```julia julia> rosenbrock(x, p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2 rosenbrock (generic function with 2 methods) julia> x0 = zeros(2)...

A fix to the MWE above might help make this clearer? Im not sure what you mean "passing a OptimizationFunction with AD backend" Edit I guess you mean something like:...