Closed briandelmsft closed 1 year ago
createarray(0) isn't an empty array?
createarray(0) isn't an empty array?
No it's an array of 1 element, the int 0. Which is enough to allow the max min functions to return 0 instead of fail... Though now that I think of it further this will artificially cause the min prevalence to always return 0
It'll have to go back to empty and put a condition on the file hashes branch to set it to 0 if there's nothing in it after the for each loop
If File entities are passed to the module but no file hashes the module fails. This is due to a max / min function in a compose that tries to look for the max/min in an empty array.