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 acec49a commit 59d4e42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
elem_list = msh.elem_list;

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

nsh = 1;
Expand Down

0 comments on commit 59d4e42

Please sign in to comment.