endail/hx711

Add exceptions to average and median funcs

endail opened this issue · 0 comments

static double average(const std::vector<T>* const vals) noexcept {

Both need to handle empty vectors.

Also update docs