Mercurial > repos > public > sbplib
diff +grid/Curvilinear.m @ 381:d32c749408cb feature/beams
Better error message.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 02 Jan 2017 09:07:49 +0100 |
parents | 30321dc180e1 |
children | 4f935415700e |
line wrap: on
line diff
--- a/+grid/Curvilinear.m Mon Dec 12 11:35:23 2016 +0100 +++ b/+grid/Curvilinear.m Mon Jan 02 09:07:49 2017 +0100 @@ -32,7 +32,7 @@ elseif isnumeric(mapping) obj.coords = matrixMappingToCoords(mapping, N, D); else - error('grid:Curvilinear:Curvilinear','mapping must be a matrix or a cell array.'); + error('grid:Curvilinear:Curvilinear','mapping must be a function handle, a matrix or a cell array.'); end end