Closed yunhuige closed 4 years ago
new_src/PosteriorSampler.py:469: FutureWarning: comparison to None will result in an elementwise object comparison in the future. if self.results['allowed_gamma'] != None:
None
Solution could be replacing "!=" with "is not". Haven't tested yet.
@yunhuige I believe that Python 3 requires this now.
Rob says this is done.
new_src/PosteriorSampler.py:469: FutureWarning: comparison to
None
will result in an elementwise object comparison in the future. if self.results['allowed_gamma'] != None:Solution could be replacing "!=" with "is not". Haven't tested yet.