diff --git a/matlab/AUG/rdaAUG_eff.m b/matlab/AUG/rdaAUG_eff.m index 2265648019035fd43d6912600e500f5aeace1970..c70aa41e53b51575b7207fa1603dac5ebd24678a 100644 --- a/matlab/AUG/rdaAUG_eff.m +++ b/matlab/AUG/rdaAUG_eff.m @@ -211,7 +211,7 @@ if usemdsplus end adata.data=data; adata.edition = mdsvalue(['_oed' user diagname]); - if nverbose>=1 && adata.edition~=edition_in + if nverbose>=1 && (~isempty(edition_in) && adata.edition~=edition_in) warning(sprintf('\nedition in = %d is different from output edition: %d\n\n',edition_in,adata.edition)); end if mod(error,2)==2; disp(['error even for ' diagname ' ; ' sigtype]); end