Skip to content

Commit

Permalink
Merge pull request #491 from RandomDefaultUser/develop
Browse files Browse the repository at this point in the history
Hotfixing the tester class
  • Loading branch information
RandomDefaultUser authored Oct 26, 2023
2 parents e769d32 + 6c77a50 commit 9c2d434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mala/network/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __calculate_observable_error(self, snapshot_number, observable,
target_calculator.read_from_array(predicted_target)
predicted = target_calculator.band_energy
return [actual, predicted,
target_calculator.total_energy_dft_calculation]
target_calculator.band_energy_dft_calculation]

elif observable == "number_of_electrons":
target_calculator = self.data.target_calculator
Expand Down

0 comments on commit 9c2d434

Please sign in to comment.