diff options
author | Ivo Danihelka <ivo@danihelka.net> | 2014-06-12 19:26:50 +0400 |
---|---|---|
committer | Ivo Danihelka <ivo@danihelka.net> | 2014-06-12 19:26:50 +0400 |
commit | 07e5202e4d52df6efd06f2bdf4c1e15b873a83c0 (patch) | |
tree | e45c6b00d5d0d35cf04d836f3bf8ebae956d9024 /ConfusionMatrix.lua | |
parent | f4e262751e18521a9abd4e95932293e294bd302f (diff) |
Made isNaN a local function.
Diffstat (limited to 'ConfusionMatrix.lua')
-rw-r--r-- | ConfusionMatrix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfusionMatrix.lua b/ConfusionMatrix.lua index 8d7edb2..a34013e 100644 --- a/ConfusionMatrix.lua +++ b/ConfusionMatrix.lua @@ -95,7 +95,7 @@ function ConfusionMatrix:zero() self.averageValid = 0 end -function isNaN(number) +local function isNaN(number) return number ~= number end |