Fixed some self-assignment errors

This commit is contained in:
Ray Speth 2012-02-27 18:14:35 +00:00
parent a4a81b94eb
commit 7f12656925
3 changed files with 3 additions and 4 deletions

View file

@ -1183,7 +1183,6 @@ void HMWSoln::constructPhaseXML(XML_Node& phaseNode, std::string id)
*/
if (thermoNode.hasChild("activityCoefficients")) {
XML_Node& scNode = thermoNode.child("activityCoefficients");
m_formPitzer = m_formPitzer;
stemp = scNode.attrib("model");
string formString = lowercase(stemp);
if (formString != "") {

View file

@ -87,7 +87,7 @@ DustyGasTransport& DustyGasTransport::operator=(const DustyGasTransport& right)
m_d = right.m_d;
m_x = right.m_x;
m_dk = right.m_dk;
m_temp = m_temp;
m_temp = right.m_temp;
m_multidiff = right.m_multidiff;
m_spwork = right.m_spwork;
m_spwork2 = right.m_spwork2;

View file

@ -267,7 +267,7 @@ doublereal LTI_Solvent::getMixTransProp(doublereal* speciesValues, doublereal* s
//if weightings are specified, use those
if (speciesWeight) {
for (size_t k = 0; k < nsp; k++) {
molefracs[k] = molefracs[k];
//molefracs[k] = molefracs[k];
// should be: molefracs[k] = molefracs[k]*speciesWeight[k]; for consistency, but weight(solvent)=1?
}
} else {
@ -313,7 +313,7 @@ doublereal LTI_Solvent::getMixTransProp(std::vector<LTPspecies*> LTPptrs)
doublereal value = 0.0;
for (size_t k = 0; k < nsp; k++) {
molefracs[k] = molefracs[k];
//molefracs[k] = molefracs[k];
// should be: molefracs[k] = molefracs[k]*LTPptrs[k]->getMixWeight(); for consistency, but weight(solvent)=1?
}