From 4c0407870f188c607e77013e9b79c2e24754dfe8 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 11 Sep 2009 23:36:47 +0000 Subject: [PATCH] Fixed an error pointed out by Greg Jackson, concerning ints vs doubles --- Cantera/src/thermo/IonsFromNeutralVPSSTP.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cantera/src/thermo/IonsFromNeutralVPSSTP.cpp b/Cantera/src/thermo/IonsFromNeutralVPSSTP.cpp index b48dd7854..2a437d931 100644 --- a/Cantera/src/thermo/IonsFromNeutralVPSSTP.cpp +++ b/Cantera/src/thermo/IonsFromNeutralVPSSTP.cpp @@ -982,10 +982,10 @@ namespace Cantera { } static double factorOverlap(const std::vector& elnamesVN , - const std::vector& elemVectorN, + const std::vector& elemVectorN, const int nElementsN, const std::vector& elnamesVI , - const std::vector& elemVectorI, + const std::vector& elemVectorI, const int nElementsI) { double fMax = 1.0E100; @@ -1076,12 +1076,12 @@ namespace Cantera { int nElementsN = neutralMoleculePhase_->nElements(); const std::vector& elnamesVN = neutralMoleculePhase_->elementNames(); - std::vector elemVectorN(nElementsN); - std::vector elemVectorN_orig(nElementsN); + std::vector elemVectorN(nElementsN); + std::vector elemVectorN_orig(nElementsN); int nElementsI = nElements(); const std::vector& elnamesVI = elementNames(); - vector elemVectorI(nElementsI); + std::vector elemVectorI(nElementsI); vector fm_tmp(m_kk); for (int jNeut = 0; jNeut < numNeutralMoleculeSpecies_; jNeut++) {