access2rohit commented on a change in pull request #15948: Fix a memory 
misalignment in topk operator
URL: https://github.com/apache/incubator-mxnet/pull/15948#discussion_r315777158
 
 

 ##########
 File path: 3rdparty/mshadow/mshadow/tensor.h
 ##########
 @@ -69,15 +69,15 @@ struct Shape {
    * \param idx dimension index
    * \return the corresponding dimension size
    */
-  MSHADOW_XINLINE index_t &operator[](index_t idx) {
+  MSHADOW_XINLINE index_t &operator[](int idx) {
 
 Review comment:
   Can you describe this change a bit more in detail ? Why is this required ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to