Skip to content

Commit

Permalink
using nan in element list implies all elements, and [] empty element …
Browse files Browse the repository at this point in the history
…list
  • Loading branch information
GHilmarG committed Jan 3, 2024
1 parent 4d915f9 commit 1f85481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MapNodalVariablesFromMesh1ToMesh2UsingShapeAndScattered.m
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@

tt=axis;
hold off
p0=PlotMuaMesh(CtrlVar,MUAnew,[],'b');
p0=PlotMuaMesh(CtrlVar,MUAnew,nan,'b');
hold on

p1=PlotMuaMesh(CtrlVar,MUAold,[],'k');
p1=PlotMuaMesh(CtrlVar,MUAold,nan,'k');
if ~isequal(tt,[0 1 0 1])
axis(tt)
end
Expand Down
2 changes: 1 addition & 1 deletion Mesh2d/refine2.m
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@

%------------------------------------- split constraints
idx1 = ...
(1:size(new1))'+size(vert,1) ;
(1:size(new1))'+size(vert,1) ; % 2024a not happy about this, I think this should be changed to (1:size(new1,1))'+size(vert,1) ;

idx2 = ...
(1:size(new2))'+size(new1,1) ...
Expand Down

0 comments on commit 1f85481

Please sign in to comment.