Skip to content

Commit a982995

Browse files
authored
Merge pull request #268 from mutationpp/fix_MillikanWhite_test
Fixing MillikanWhite_test with Approx credits go to George
2 parents 0b8da42 + 3f052e9 commit a982995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/c++/test_MillikanWhite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void checkDefaultRelaxationRate(bool with_electrons)
8181
const double sigma = 1e-20 * (2.5E9/(300.0*300.0));
8282
const double tau_park = 1.0/(ni * ci * sigma);
8383

84-
CHECK(model.relaxationTime(mix) == tau_mw + tau_park);
84+
CHECK(model.relaxationTime(mix) == Approx(tau_mw + tau_park));
8585
}
8686

8787
TEST_CASE("MillikanWhiteModel provides correct default relaxation time", "[transfer]")

0 commit comments

Comments
 (0)