We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
predictor.py
mala/mala/network/predictor.py
Lines 37 to 40 in 9b0c4fc
__init__
Lines 65 to 68 in 9b0c4fc
predict_from_qeout()
Also here
Lines 105 to 110 in 9b0c4fc
self.data.grid_dimension = self.parameters.inference_data_grid
if np.prod(self.parameters.inference_data_grid) == 0: ... code from else clause here ...
Note: <= 0 would be correct but I gess np.prod(self.parameters.inference_data_grid) is never < 0.
<= 0
np.prod(self.parameters.inference_data_grid)
The text was updated successfully, but these errors were encountered:
Hi @elcorto thanks for bringing this to my attention, I will have a look! :)
Sorry, something went wrong.
RandomDefaultUser
No branches or pull requests
mala/mala/network/predictor.py
Lines 37 to 40 in 9b0c4fc
__init__
is the same asmala/mala/network/predictor.py
Lines 65 to 68 in 9b0c4fc
predict_from_qeout()
. Since the former is in the constructor, I think the latter can be skipped.Also here
mala/mala/network/predictor.py
Lines 105 to 110 in 9b0c4fc
self.data.grid_dimension = self.parameters.inference_data_grid
is already performed in__init__
so the check could be changed to something likeNote:
<= 0
would be correct but I gessnp.prod(self.parameters.inference_data_grid)
is never < 0.The text was updated successfully, but these errors were encountered: