changed call read_value_double_precision_p to call read_value_logical_p ...

...for the new parameter USE_CONSTANT_MAX_AMPLITUDE