mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
Fixed typo in ORT_RETURN_IF_NOT() message. (#2862)
This commit is contained in:
parent
9f5e8c4ae8
commit
061f10fcd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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__)); \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue