Skip to content

Commit

Permalink
print tetgen message when it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Apr 21, 2021
1 parent 3de31f9 commit e8fb05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surf2mesh.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
end

if(status~=0)
error(sprintf('Tetgen command failed'));
error('Tetgen command failed:\n%s\n', cmdout);
end

% read in the generated mesh
Expand Down

0 comments on commit e8fb05c

Please sign in to comment.