Fixed typo in ORT_RETURN_IF_NOT() message. (#2862)

This commit is contained in:
edgchen1 2020-01-21 20:03:41 -08:00 committed by George Wu
parent 9f5e8c4ae8
commit 061f10fcd5

View file

@ -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__)); \
}