Changeset 1007


Ignore:
Timestamp:
11/29/16 11:35:51 (6 years ago)
Author:
rlacroix
Message:

Fix: Using xios_send_field on a disabled field caused an invalid error message when an expression with the "this" keyword was used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field_impl.hpp

    r998 r1007  
    2020    if (clientSourceFilter) 
    2121      clientSourceFilter->streamData(CContext::getCurrent()->getCalendar()->getCurrentDate(), _data); 
    22     else if (!field_ref.isEmpty() || hasExpression()) 
     22    else if (instantDataFilter) 
    2323      ERROR("void CField::setData(const CArray<double, N>& _data)", 
    2424            << "Impossible to receive data from the model for a field [ id = " << getId() << " ] with a reference or an arithmetic operation."); 
Note: See TracChangeset for help on using the changeset viewer.