Closed mhauru closed 4 years ago
Yes, huge oversight from my part. I treat the last contraction separately in the code, specifically not to cache the end result, but then I did nonetheless used the cache for this allocation. This should now be fixed on master.
Thanks!
outputs e.g.
In other words, when I wrap an @ncon call in a function, it seems that repeated calls to that function always return a reference to the same array, the elements of which continue to track the result of the latest call. Just to show that this really depends on wrapping it in a function,
outputs e.g.
Disabling the cache fixes this.