Changeset a72f642 in tol


Ignore:
Timestamp:
May 16, 2012, 8:14:31 AM (14 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
9524825
Parents:
d7349ff
Message:

Fixes #1523 in 3.2
Refs #1470 in 3.2
Sometimes the trial evaluation of non finite time series can return an invalid object with no dating that must be skipped.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4688 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/OIS/oisloader.cpp

    rd7349ff ra72f642  
    14071407          { result = x; }
    14081408          BUserTimeSerie* ser = (BUserTimeSerie*)result;
    1409           if(dating!=ser->Dating())
    1410           {
    1411             if(forceStoredTimeSet_!=0)
     1409          BTimeSet* serDating = ser->Dating(); 
     1410          if(dating!=serDating)
     1411          {
     1412            if(!serDating || (forceStoredTimeSet_!=0))
    14121413            {
    14131414              ser->PutDating(dating);
    14141415            }
    1415             if(!dating->IsCompatibleWith(*(ser->Dating()),beginCache,endCache))
     1416            if(serDating && !dating->IsCompatibleWith(*serDating,beginCache,endCache))
    14161417            {
    14171418              Warning(BText("Dating of loaded Serie ")+name+"="+expr+
Note: See TracChangeset for help on using the changeset viewer.