Commit 65789e99 authored by Simone Liuzzo's avatar Simone Liuzzo

added maxorder to betamodel, SH had 0 maxorder!

parent 2451d8d0
......@@ -60,6 +60,11 @@ curdir=pwd;
% ensure sufficent maxorder
indm = atgeetcells(r,'MaxOrder');
np = cellfun(@(a)min(length(a.PolynomB),length(a.PolynomA)),r(indm),'un',1);
r = atsetfieldvalues(r,indm,'MaxOrder',np-1);
% AT lattice
errtab_tmp=errtab; % store input tables
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