Commit 4051f203 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix in itaCoordinates.dot

calculate one dot product per coordinate and not sum over the axes
parent 0d300434
...@@ -7,5 +7,5 @@ function d = dot(v1,v2) ...@@ -7,5 +7,5 @@ function d = dot(v1,v2)
% </ITA-Toolbox> % </ITA-Toolbox>
d = dot(v1.cart,v2.cart); d = dot(v1.cart,v2.cart,2);
end %eof end %eof
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment