max value calc fix #153
Reference in New Issue
Block a user
Delete Branch "max-value-fix-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nice catch @meggert !
Re: Off-Band Discussion with @muellerr: I think
indexneeds to be checked fornullptr(and my younger self needs a stern talking to for writinguint8_t *index = 0without this check), as the interface presentsnullptras a valid choice.Regarding checking
vectorandsize, the whole module does not donullptr/size checks. I am not sure whether to keep it that way or refactor it to checking and returningReturnvalue_t.I think the idea in the first place was to keep the interface slim, to not bloat math code, which is a debatable argument...