Set unset threshold values to NaN

Currently unset thresholds are set to 0. But correct value for unset
thresholds is NaN.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I1fbf120d5ea4af7e470fa4d9b7d77c6a14a15b96
2 files changed