Commit b9af2f31 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug appearing if FREQ__ is not specified but INIT__ is (wrong default)....

Fixed bug appearing if FREQ__ is not specified but INIT__ is (wrong default). Note that we never need to specify FREQ__ which is deduced from INIT__.
parent 017fd65b
......@@ -52,7 +52,7 @@ if exist('FREQ__','var')
freq = FREQ__;
clear('FREQ__');
else
freq = 1;
freq = init.freq;
end
if ~isequal(freq,init.freq)
......
......@@ -50,7 +50,7 @@ if isfield(datafile,'FREQ__')
freq = datafile.FREQ__;
datafile = rmfield(datafile, 'FREQ__');
else
freq = 1;
freq = init.freq;
end
if ~isequal(freq,init.freq)
......
Supports Markdown
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