Changeset 478

Show
Ignore:
Timestamp:
09/09/09 16:04:18 (15 years ago)
Author:
bhilburn
Message:

Fixing the math include to C++ standards.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/cognitive_engines/OSSIE_DEMO_CE/OSSIE_CE.cpp

    r477 r478  
    99 
    1010 
     11#include <cmath> 
    1112#include <cstdlib> 
    1213#include <cstring> 
    1314#include <stdint.h> 
    14 #include <math.h> 
    1515#include <string> 
    1616 
     
    127127 
    128128 
    129 // update a row  
    130129int32_t  
    131130ossieCBR::Update(string _where[], string _set[], float *_wherevals, float *_setvals,  
     
    267266    for(size_t i = 0; i < radioInfo->numUtilities; i++) { 
    268267 
    269         // This is a special case because the observable is also the utility 
     268            /* This is a special case because the observable is also the utility. */ 
    270269        newUtilityVals[newUtilityValueIndex] = observables[i].value; 
    271270        newUtilityValueIndex++; 
     
    286285    } 
    287286 
    288     // cbr_update(database,where,set,whereval,setval,..) 
    289287    myCBR->Update(nameList, utilList, valList, newUtilityVals,  
    290288            numberColumns, utilColumns);