avoid precision problems with 0.0 constant

This commit is contained in:
Jeff Hill
2001-05-31 20:17:20 +00:00
parent 194435b010
commit b1ca3061a1

View File

@@ -1494,7 +1494,7 @@ void performMonitorUpdateTest ( chid chan )
/*
* set channel to known value
*/
temp = 0.0;
temp = 1.0;
SEVCHK ( ca_put ( DBR_FLOAT, chan, &temp ), NULL );
for ( i = 0; i < NELEMENTS(test); i++ ) {