Ignore:
Timestamp:
Jun 7, 2008, 1:20:30 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
42bdb2, a89a22
Parents:
a1c448
Message:

these are all smaller fixes due to extensively enabled compiler warnings

e.g. local variable shadows global (mol::nr by local nr)
and others

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/element.cpp

    ra1c448 r75793b2  
    4141 * \param NoOfAtoms total number of atom of this element type
    4242 */
    43 bool element::Checkout(ofstream *out, const int No, const int NoOfAtoms) const
     43bool element::Checkout(ofstream *out, const int Number, const int NoOfAtoms) const
    4444{
    4545  if (out != NULL) {
    46     *out << "Ion_Type" << No << "\t" << NoOfAtoms << "\t" << Z << "\t1.0\t3\t3\t" << fixed << setprecision(11) << showpoint << mass << "\t" << name << "\t" << symbol <<endl;
     46    *out << "Ion_Type" << Number << "\t" << NoOfAtoms << "\t" << Z << "\t1.0\t3\t3\t" << fixed << setprecision(11) << showpoint << mass << "\t" << name << "\t" << symbol <<endl;
    4747    return true;
    4848  } else
Note: See TracChangeset for help on using the changeset viewer.