Refs #7091. Change threshold parameter to double.