Fixing issue with dmax in P(r). Now logs value error rather than crashing.
Fixing issue with dmax in P(r). Now logs value error rather than crashing.

lewisodriscoll/sasview,SasView/sasview,SasView/sasview,SasView/sasview,lewisodriscoll/sasview,lewisodriscoll/sasview,lewisodriscoll/sasview,SasView/sasview,SasView/sasview,SasView/sasview,lewisodriscoll/sasview