Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
reyoung committed Jan 19, 2017
1 parent a6d4a31 commit c88dec2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions paddle/utils/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace paddle {
class Error {
public:
/**
* Construct an no-error value.
* Construct a no-error value.
*/
Error() {}

Expand All @@ -100,7 +100,7 @@ class Error {
}

/**
* @brief what will return the error message. If no error, return nullptr.
* @brief msg will return the error message. If no error, return nullptr.
*/
const char* msg() const {
if (msg_) {
Expand All @@ -114,6 +114,7 @@ class Error {
* @brief operator bool, return True if there is no error.
*/
operator bool() const { return !msg_; }

/**
* @brief check this status by glog.
* @note It is a temp method used during cleaning Paddle code. It will be
Expand Down

0 comments on commit c88dec2

Please sign in to comment.