Changeset 2024 for XIOS/trunk/src/node


Ignore:
Timestamp:
02/01/21 11:12:08 (3 years ago)
Author:
ymipsl
Message:

Bug fix introduced in preceding commit. When checking time operation parameters, be sure that when acceding to file->output_freq that the file has a non void pointer on file.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r1983 r2024  
    20592059     { 
    20602060       //if(file->output_freq.getValue() < freq_op.getValue()) 
    2061        if(freq_op.getValue() > file->output_freq.getValue() ) 
     2061       if((isFieldRead || isFieldWrite) && (freq_op.getValue() > file->output_freq.getValue()) ) 
    20622062       { 
    20632063         ERROR("void CField::checkTimeAttributes(void)", 
Note: See TracChangeset for help on using the changeset viewer.