Fixed issue with passing a SINGLE instead of DOUBLE