Skip to content

Commit

Permalink
[zeroD] Fix compilation warnings in MoleReactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Jul 29, 2022
1 parent d53f26e commit ff0665a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/cantera/zeroD/IdealGasConstPressureMoleReactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class IdealGasConstPressureMoleReactor : public MoleReactor
protected:
vector_fp m_hk; //!< Species molar enthalpies

const int m_sidx = 1;
const size_t m_sidx = 1;
};

}
Expand Down
2 changes: 1 addition & 1 deletion include/cantera/zeroD/MoleReactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MoleReactor : public Reactor
virtual void getSurfaceInitialConditions(double* y);

//! const value for the species start index
const int m_sidx = 2;
const size_t m_sidx = 2;
};

}
Expand Down

0 comments on commit ff0665a

Please sign in to comment.