dfdx / Umlaut.jl

The Code Tracer
MIT License
32 stars 6 forks source link

Fix bug in __new__ #42

Closed willtebbutt closed 1 year ago

willtebbutt commented 1 year ago

__new__ didn't work properly with partially initialised structs.

willtebbutt commented 1 year ago

Have double checked locally and I'm confident that codecov/patch is lying -- the test does appear to be calling __new__.

dfdx commented 1 year ago

I didn't even know new() can be used this way :) Thanks!