Commit 2c27456f authored by Pierre Cazenave's avatar Pierre Cazenave

Fix issue arising with adding the Coriolis parameter when using spherical coordinates.

parent 37954e52
......@@ -41,7 +41,7 @@ CorType = 'uselatitude';
if(exist('cortype'))
if(cortype(1:3)=='use')
CorType = 'uselatitude';
if(~Mobj.have_cor)
if(~Mobj.have_lonlat)
error('To set Coriolis with latitude, need (lon,lat) field in Mesh structure')
end;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment