Commit ed55d323 authored by Ted Themistokleous's avatar Ted Themistokleous
Browse files

Revert "Change threshold for has_value tolerance"

This reverts commit 4aeacc17.
parent fcc84214
...@@ -784,7 +784,7 @@ auto skip_broadcasts_converts(Ms... ms) ...@@ -784,7 +784,7 @@ auto skip_broadcasts_converts(Ms... ms)
} }
template <class T> template <class T>
inline auto has_value(T x, float tolerance = 1e-12) inline auto has_value(T x, float tolerance = 1e-6)
{ {
return skip_broadcasts_converts(make_basic_pred_matcher([=](instruction_ref ins) { return skip_broadcasts_converts(make_basic_pred_matcher([=](instruction_ref ins) {
if(ins->name() != "@literal") if(ins->name() != "@literal")
......
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