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

Commit

Permalink
fix sanity error
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangZhaoh committed Mar 27, 2020
1 parent 640cb0e commit f38fabc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operator/numpy/np_elemwise_broadcast_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ inline void PrintErrorMessage(const std::string& op_name, const int dtype1, cons
}

inline bool is_integer(const int dtype) {
return dtype == mshadow::kBool || dtype == mshadow::kInt8 || dtype == mshadow::kInt32 || dtype == mshadow::kInt64;
return dtype == mshadow::kBool || dtype == mshadow::kInt8 ||
dtype == mshadow::kInt32 || dtype == mshadow::kInt64;
}

#ifndef _WIN32
Expand Down

0 comments on commit f38fabc

Please sign in to comment.