Should fix #2

This commit is contained in:
Chris Watson 2019-09-02 14:17:40 -07:00
parent 34ea337069
commit c19b317dcd
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ module Apatite::LinearAlgebra
end
# Take me to your leader
def <=>
def <=>(other)
if other.is_a?(Vector)
@elements <=> other.elements
else