Closed gottacatchenall closed 2 years ago
Yeah I tried with a simple layer and it Works on My Machine ™️ , but I'll build an actual test and report back.
So I tracked down what is happening -- essentially, findmax
works on the iterable structure of the layer, which returns pairs (from points to values), and the isless
operation is applied to this.
This has probably an easy fix, I'll work on this today.
See #146 which adds findmin and findmax + findall, findfirst, findlast
Contact Details
No response
What happened?
Here's a demo of the bug using SimpleSDMLayers v0.8.3 on Julia 1.8
So clearly something is off here, as the value returns by
findmin
is greater than that returned byfindmax
, and neither align with theextrema
callStacktrace
No response