I'll rework it to add a check.  Also, I should check for the dtypes of the inputs since we are no longer limited to float32 only.