Fix #1240: throws error when holomorphic=True is wrong
Created by: PhilipVinc
Closes #1240 (closed) : if there are real parameters when holomorphic=True
then it throws an error.
Created by: PhilipVinc
Closes #1240 (closed) : if there are real parameters when holomorphic=True
then it throws an error.