Ignore:
Timestamp:
Feb 6, 2015, 7:55:10 PM (10 years ago)
Author:
sommeria
Message:

bug_repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/calc_field_interp.m

    r863 r864  
    5555            check_skipped(ilist)=1; %variable not found
    5656        elseif isempty(find(strcmp(FieldName{ilist},InputVarList), 1));% the variable exists and has not been already selected
    57             if isfield(Data.VarAttribute{ivar},'Role') &&...
     57            if exist('XI','var')&& isfield(Data.VarAttribute{ivar},'Role') &&...
    5858                    (strcmp(Data.VarAttribute{ivar}.Role,'ancillary')||strcmp(Data.VarAttribute{ivar}.Role,'warnflag')||strcmp(Data.VarAttribute{ivar}.Role,'errorflag'))
    5959                check_interp(ilist)=0; % ancillary variable, not interpolated ?????
Note: See TracChangeset for help on using the changeset viewer.