Commit 0c461880 authored by wenjh's avatar wenjh
Browse files

Fix build error of cpp unit test


Signed-off-by: wenjh's avatarwenjh <wenjh@sugon.com>
parent 8e0fd518
...@@ -103,7 +103,7 @@ void compute_ref(const ProcessingMethod processing_method, ...@@ -103,7 +103,7 @@ void compute_ref(const ProcessingMethod processing_method,
elt = static_cast<float>(static_cast<InputType>(elt)); elt = static_cast<float>(static_cast<InputType>(elt));
cache_buffer[cache_idx] = elt; cache_buffer[cache_idx] = elt;
if (isinf(elt) || isnan(elt)) { if (std::isinf(elt) || std::isnan(elt)) {
continue; continue;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment