Skip to content

Commit 37c59b1

Browse files
committed
fix test typo
1 parent 6848c1b commit 37c59b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/core/calculate/test_ase_calculator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,13 @@ def test_formation_energy_calculator_mp_corrections_omat_task(single_mlip_predic
503503
base_calc, apply_corrections=None
504504
)
505505
atoms.calc = formation_calc_corrected
506-
corrected_energy = bulk_atoms.get_potential_energy()
506+
corrected_energy = atoms.get_potential_energy()
507507

508508
# Without corrections
509509
atoms = bulk("MgO", "rocksalt", a=4.213)
510510
formation_calc = FormationEnergyCalculator(base_calc, apply_corrections=False)
511511
atoms.calc = formation_calc
512-
energy = bulk_atoms.get_potential_energy()
512+
energy = atoms.get_potential_energy()
513513

514514
assert isinstance(energy, float)
515515
assert isinstance(corrected_energy, float)

0 commit comments

Comments
 (0)