Skip to content

Commit

Permalink
updated covdep vs non covdep check to 'all close'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBNEU authored and rwest committed Jul 23, 2021
1 parent 99ab281 commit 5918981
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rmgpy/solver/surfaceTest.py
Expand Up @@ -546,7 +546,6 @@ def test_solve_ch3_coverage_dependence(self):
initial_surface_coverages={x: 1.0},
surface_volume_ratio=(1., 'm^-1'),
surface_site_density=(2.72e-9, 'mol/cm^2'),
coverage_dependence=False,
termination=[])

rxn_system.initialize_model(core_species, core_reactions, edge_species, edge_reactions)
Expand Down Expand Up @@ -582,5 +581,5 @@ def test_solve_ch3_coverage_dependence(self):
self.assertAlmostEqual(species_rates_off[-1, 0], 0.0, delta=1e-2)

# Check that coverages are different
self.assertFalse(np.array_equal(y,y_off))
self.assertFalse(np.array_equal(species_rates, species_rates_off))
self.assertFalse(np.allclose(y,y_off))
self.assertFalse(np.allclose(species_rates, species_rates_off))

0 comments on commit 5918981

Please sign in to comment.