Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hjk41 committed Feb 2, 2016
1 parent 89fac44 commit 5397524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R-package/src/ndarray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ NDArrayFunction::NDArrayFunction(FunctionHandle handle)
const char *ret_type;
MX_CALL(MXFuncGetInfo(handle, &name, &description, &num_args,
&arg_names, &arg_type_infos, &arg_descriptions,
&ret_type));
&ret_type));
if (name[0] == '_') {
name_ = std::string("mx.nd.internal.") + (name + 1);
} else {
Expand Down Expand Up @@ -460,7 +460,7 @@ FunctionHandle NDArrayFunction::FindHandle(const std::string& hname) {
const char *ret_type;
MX_CALL(MXFuncGetInfo(handle, &name, &description, &num_args,
&arg_names, &arg_type_infos, &arg_descriptions,
&ret_type));
&ret_type));
if (name == hname) return handle;
}
RLOG_FATAL << "FindHandle: cannot find function " << hname;
Expand Down

0 comments on commit 5397524

Please sign in to comment.