From 061f10fcd58c2c1eb6d4ccc8916db99ee21792e2 Mon Sep 17 00:00:00 2001 From: edgchen1 <18449977+edgchen1@users.noreply.github.com> Date: Tue, 21 Jan 2020 20:03:41 -0800 Subject: [PATCH] Fixed typo in ORT_RETURN_IF_NOT() message. (#2862) --- include/onnxruntime/core/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/onnxruntime/core/common/common.h b/include/onnxruntime/core/common/common.h index 241d7ed8ee..52062f5fb7 100644 --- a/include/onnxruntime/core/common/common.h +++ b/include/onnxruntime/core/common/common.h @@ -121,7 +121,7 @@ void LogRuntimeError(uint32_t session_id, const common::Status& status, const ch // Check condition. if not met, return status. #define ORT_RETURN_IF_NOT(condition, ...) \ if (!(condition)) { \ - return ORT_MAKE_STATUS(ONNXRUNTIME, FAIL, "Not satsified: " #condition "\n", \ + return ORT_MAKE_STATUS(ONNXRUNTIME, FAIL, "Not satisfied: " #condition "\n", \ ORT_WHERE.ToString(), ::onnxruntime::MakeString(__VA_ARGS__)); \ }