Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[1.8.x] fix for MX_ERROR_MSG namespace #19756

Merged
merged 1 commit into from
Jan 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/mxnet/lib_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class MXerrorMsgs {
};

// Add a new error message, example: MX_ERROR_MSG << "my error msg";
#define MX_ERROR_MSG MXerrorMsgs::get()->add(__FILE__, __LINE__)
#define MX_ERROR_MSG mxnet::ext::MXerrorMsgs::get()->add(__FILE__, __LINE__)

/*!
* \brief Tensor data type, consistent with mshadow data type
Expand Down