Chad Scherrer

Results 365 comments of Chad Scherrer

Great! I don't quite have the inverse working correctly yet, but I'll PR this once I get there.

Thanks @xitology for the detailed help. I've seen this problem come up in other contexts -- gracefully exiting a would-be infinite recursion. Sometimes you can play tricks, like passing around...

Along these lines, what do you think of using a `StaticVector` for `UnitVector` transforms? They're fast for low dimensions, and off-by-one errors seem especially likely in this case. Current status...

This is great! I've had some discussions recently with the Turing team about refactoring things so there's less code overlap between AbstractMCMC/MCMCChains and SampleChains. MCMCChains has some nice diagnostics, but...

Thanks for the feedback. I'll try to move things over to Accessors and let you know if I hit any snags. @rafaqz your code is really interesting, but I don't...

Basically what I want is something like StructArrays, but with stronger support for nested (named) tuples. I'm making some progress! I used some generated function tricks to get this working,...

Ok, I managed to put together a `Leaves` optic. The idea is that is descends into tuples and named tuples, and works with the result. All of this should be...

> Cool! About the `leaves` example, I think it is worth opening an issue at julia. Good idea https://github.com/JuliaLang/julia/issues/38825 > I could get in inferred by doing the following Oh,...

Right, Michael Abbott suggested something similar ("reduce splatting"): https://github.com/JuliaLang/julia/issues/38825#issuecomment-742868501

Failing for me too. Not sure why, could be a StaticArrays version thing