Skip to content

Commit

Permalink
Fix of ind2sub issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rafavzqz authored Nov 18, 2024
1 parent 1d8546a commit acec49a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
msh_col.nqn = msh.nqn;

indices = cell (msh.ndim, 1);
[indices{:}] = ind2sub (msh.nel_dir, elem_list);
[indices{:}] = ind2sub ([msh.nel_dir 1], elem_list);
indices = cell2mat (indices);

if (isempty (elem_list))
Expand Down

0 comments on commit acec49a

Please sign in to comment.