Skip to content

Commit

Permalink
use lda for proxima tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miketynes committed Aug 8, 2024
1 parent c8b674d commit 6fe2682
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_proxima.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def simple_model(starting_frame) -> tuple[list[ANIModelContents], TorchANI]:

@fixture()
def target_calc() -> CP2K:
yield make_calculator('blyp')
yield make_calculator('lda')


@fixture()
Expand Down Expand Up @@ -148,3 +148,4 @@ def test_pretrained_threshold(starting_frame, simple_proxima, target_calc):
assert simple_proxima.threshold is None and simple_proxima.alpha is None
simple_proxima.get_forces(starting_frame)
assert isclose(simple_proxima.threshold, 0., abs_tol=1e-12) and simple_proxima.alpha is None # It sets to zero if all UQs are the same

0 comments on commit 6fe2682

Please sign in to comment.