| 29 |  | T( theInfo, the_ff ) | 
| 30 |  | { | 
| 31 |  | GenericData* data; | 
| 32 | < | DoubleData * chiValue; | 
| 33 | < | DoubleData * integralOfChidtValue; | 
| 32 | > | DoubleGenericData * chiValue; | 
| 33 | > | DoubleGenericData * integralOfChidtValue; | 
| 34 |  |  | 
| 35 |  | chiValue = NULL; | 
| 36 |  | integralOfChidtValue = NULL; | 
| 48 |  | // retrieve chi and integralOfChidt from simInfo | 
| 49 |  | data = info->getProperty(CHIVALUE_ID); | 
| 50 |  | if(data){ | 
| 51 | < | chiValue = dynamic_cast<DoubleData*>(data); | 
| 51 | > | chiValue = dynamic_cast<DoubleGenericData*>(data); | 
| 52 |  | } | 
| 53 |  |  | 
| 54 |  | data = info->getProperty(INTEGRALOFCHIDT_ID); | 
| 55 |  | if(data){ | 
| 56 | < | integralOfChidtValue = dynamic_cast<DoubleData*>(data); | 
| 56 | > | integralOfChidtValue = dynamic_cast<DoubleGenericData*>(data); | 
| 57 |  | } | 
| 58 |  |  | 
| 59 |  | // chi and integralOfChidt should appear by pair |