dmitrievanthony commented on a change in pull request #6378: IGNITE-11647: ML 
Vectors should work with all Serializable objects besides double
URL: https://github.com/apache/ignite/pull/6378#discussion_r270475481
 
 

 ##########
 File path: 
modules/ml/src/main/java/org/apache/ignite/ml/math/primitives/vector/AbstractVector.java
 ##########
 @@ -297,6 +342,22 @@ protected Element makeElement(int idx) {
         return this;
     }
 
+    /** {@inheritDoc} */
+    @Override public <T extends Serializable> Vector setRaw(int idx, T val) {
 
 Review comment:
   Why not just protected void storageSetRaw(int i, Serializable v)?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to