Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Jul 22, 2019
1 parent 47090ee commit cd38371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TensorAnalysis/@tensor/inv.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
M = tensor42(T.M,T.doubleConvention);

% invert the matrix
for l = 1:size(M,3)
for l = 1:length(T)
M(:,:,l) = inv(M(:,:,l));
end

Expand Down

0 comments on commit cd38371

Please sign in to comment.