max value calc fix #153
No reviewers
Labels
No Label
api change
breaking api change
bug
documentation
duplicate
feature
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: eive/fsfw#153
Loading…
Reference in New Issue
Block a user
No description provided.
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
index
needs to be checked fornullptr
(and my younger self needs a stern talking to for writinguint8_t *index = 0
without this check), as the interface presentsnullptr
as a valid choice.Regarding checking
vector
andsize
, 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...