You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/04/02 05:45:27 UTC

[GitHub] [commons-geometry] arturobernalg commented on a change in pull request #143: GEOMETRY-119: adding Vector.normalizeOrNull() method

arturobernalg commented on a change in pull request #143:
URL: https://github.com/apache/commons-geometry/pull/143#discussion_r606081789



##########
File path: commons-geometry-core/src/main/java/org/apache/commons/geometry/core/Vector.java
##########
@@ -93,11 +93,22 @@
 
     /** Get a normalized vector aligned with the instance. The returned
      * vector has a magnitude of 1.
-     * @return a new normalized vector
-     * @throws IllegalArgumentException if the norm is zero, NaN, or infinite
+     * @return normalized vector
+     * @throws IllegalArgumentException if the norm (or norm inverse, if applicable)
+     *      is zero, NaN, or infinite

Review comment:
       This space is correct?




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