Fixed some self-assignment errors
This commit is contained in:
parent
a4a81b94eb
commit
7f12656925
3 changed files with 3 additions and 4 deletions
|
|
@ -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 != "") {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue