#798: Ensure 'independent variable' is float

Resolves #798.