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

bugfix in

calculate one dot product per coordinate and not sum over the axes
parent 0d300434
......@@ -7,5 +7,5 @@ function d = dot(v1,v2)
% </ITA-Toolbox>
d = dot(v1.cart,v2.cart);
d = dot(v1.cart,v2.cart,2);
end %eof
\ No newline at end of file
Supports Markdown
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