}
else if ( !strcmp( Type , "float" ) ) {
cdebug << "float" << endl ;
- InitialValue <<= (double ) 0. ;
+ double d = 0.;
+ InitialValue.replace(CORBA::TypeCode::PR_double_tc(), (void*)(&d));
+ //InitialValue <<= (double ) 0. ;
}
else if ( !strcmp( Type , "double" ) ) {
cdebug << "double" << endl ;
- InitialValue <<= (double ) 0. ;
+ double d = 0.;
+ InitialValue.replace(CORBA::TypeCode::PR_double_tc(), (void*)(&d));
+ //InitialValue <<= (double ) 0. ;
}
else { // Default
cdebug << "objref" << endl ;