Commit 22b8c2d1 authored by Pierre Cazenave's avatar Pierre Cazenave

Remove unnecessary trailing semicolons.

parent 3b097a85
......@@ -27,7 +27,7 @@ subname = 'write_FVCOM_bath';
global ftbverbose
if(ftbverbose)
fprintf('\n'); fprintf(['begin : ' subname '\n']);
end;
end
%------------------------------------------------------------------------------
% Parse input arguments
......@@ -45,21 +45,21 @@ if(lower(Mobj.nativeCoords(1:3)) == 'car')
else
x = Mobj.lon;
y = Mobj.lat;
end;
end
if(Mobj.have_bath)
if(ftbverbose); fprintf('writing FVCOM bathymetry file %s\n',filename); end;
fid = fopen(filename,'w');
fprintf(fid,'Node Number = %d\n',Mobj.nVerts);
for i=1:Mobj.nVerts
fprintf(fid,'%f %f %f\n',x(i),y(i),Mobj.h(i));
end;
end
fclose(fid);
else
error('can''t write bathymetry to file, mesh object has no bathymetry')
end;
end
if(ftbverbose)
fprintf(['end : ' subname '\n'])
end;
end
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