Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Jun 3, 2024
1 parent 376dfb2 commit 5adcc8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION "3.14")

project(EQUILIBRATE LANGUAGES Fortran C VERSION "0.1.2")
project(EQUILIBRATE LANGUAGES Fortran C VERSION "0.1.3")

set(CMAKE_Fortran_MODULE_DIRECTORY "${CMAKE_BINARY_DIR}/modules")
include(cmake/CPM.cmake)
Expand Down
2 changes: 1 addition & 1 deletion src/equilibrate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function solve_metallicity(self, P, T, metallicity, CtoO, err) result(converged)
! Compute atoms based on the input metallicity.
molfracs_atoms = self%molfracs_atoms_sun
do i = 1,size(molfracs_atoms)
if (self%atoms_names(i) /= 'H' .or. self%atoms_names(i) /= 'He') then
if (self%atoms_names(i) /= 'H' .and. self%atoms_names(i) /= 'He') then
molfracs_atoms(i) = self%molfracs_atoms_sun(i)*metallicity
endif
enddo
Expand Down

0 comments on commit 5adcc8e

Please sign in to comment.