Skip to content

Commit

Permalink
Hotfixing the tester class
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomDefaultUser committed Oct 26, 2023
1 parent e769d32 commit 6c77a50
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 6c77a50

Please sign in to comment.