Skip to content

Commit

Permalink
Fix the usage of std::to_string (onnx#1247)
Browse files Browse the repository at this point in the history
Doesn't compile on android
  • Loading branch information
bddppq authored Aug 1, 2018
1 parent 7c5f1a9 commit 32ac71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnx/defs/tensor/defs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ONNX_OPERATOR_SET_SCHEMA(
outputProduct *= targetShape[i];
} else {
// Check if value is less than -1; fail if so
fail_shape_inference("Invalid dimension value: " + std::to_string(targetShape[i]));
fail_shape_inference("Invalid dimension value: ", targetShape[i]);
}
}

Expand Down

0 comments on commit 32ac71b

Please sign in to comment.