Skip to content

Commit

Permalink
Merge pull request WEC-Sim#1274 from akeeste/bugfix_readCapytaine
Browse files Browse the repository at this point in the history
readCapytaine - fix reading multiple bodies with <6 dofs
  • Loading branch information
MShabara authored Aug 15, 2024
2 parents 0520f46 + 10d541e commit 2cf66de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/functions/BEMIO/readCAPYTAINE.m
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
end

% set the indices that sort the old dofs/variables into the correct order
inds = zeros(1,max([6,sum(nDofs_per_body)]));
inds = zeros(1,length(sorted_dofs));
for j=1:length(old_dofs)
for i=1:length(sorted_dofs)
if lower(old_dofs(j)) == sorted_dofs(i)
Expand Down

0 comments on commit 2cf66de

Please sign in to comment.