diff options
Diffstat (limited to 'reference_model/src/ops/comparison.cc')
-rw-r--r-- | reference_model/src/ops/comparison.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reference_model/src/ops/comparison.cc b/reference_model/src/ops/comparison.cc index 402e152..ab89e24 100644 --- a/reference_model/src/ops/comparison.cc +++ b/reference_model/src/ops/comparison.cc @@ -32,7 +32,7 @@ int OpEqual<Rank, Dtype>::register_fcn() this->fcn = [](InEigenType a, InEigenType b) -> OutEigenType { return a == b; }; break; default: - FATAL_ERROR_NODE("unsupported DType %s", EnumNamesDType()[Dtype]); + ERROR_IF(true, "unsupported DType %s", EnumNamesDType()[Dtype]); } return 0; @@ -48,7 +48,7 @@ int OpGreater<Rank, Dtype>::register_fcn() this->fcn = [](InEigenType a, InEigenType b) -> OutEigenType { return a > b; }; break; default: - FATAL_ERROR_NODE("unsupported DType %s", EnumNamesDType()[Dtype]); + ERROR_IF(true, "unsupported DType %s", EnumNamesDType()[Dtype]); } return 0; @@ -64,7 +64,7 @@ int OpGreaterEqual<Rank, Dtype>::register_fcn() this->fcn = [](InEigenType a, InEigenType b) -> OutEigenType { return a >= b; }; break; default: - FATAL_ERROR_NODE("unsupported DType %s", EnumNamesDType()[Dtype]); + ERROR_IF(true, "unsupported DType %s", EnumNamesDType()[Dtype]); } return 0; |