Hi, When I run your example for truncated Gaussian, I always get this error. It seems like an issue with indentation but very hard to spot. can you please help. Regards