Ignore:
Timestamp:
Feb 9, 2009, 5:24:10 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
451d7a
Parents:
4aef8a
git-author:
Frederik Heber <heber@…> (02/09/09 15:55:37)
git-committer:
Frederik Heber <heber@…> (02/09/09 17:24:10)
Message:

Merge branch 'ConcaveHull' of ../espack2 into ConcaveHull

Conflicts:

molecuilder/src/boundary.cpp
molecuilder/src/boundary.hpp
molecuilder/src/builder.cpp
molecuilder/src/linkedcell.cpp
molecuilder/src/linkedcell.hpp
molecuilder/src/vector.cpp
molecuilder/src/vector.hpp
util/src/NanoCreator.c

Basically, this resulted from a lot of conversions two from spaces to one tab, which is my standard indentation. The mess was caused by eclipse auto-indenting. And in espack2:ConcaveHull was the new stuff, so all from ConcaveHull was replaced in case of doubt.
Additionally, vector had ofstream << operator instead ostream << ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/verbose.cpp

    • Property mode changed from 100644 to 100755
    r4aef8a re08f45  
    77ostream& Verbose::print (ostream &ost) const
    88{
    9   for (int i=Verbosity;i--;)
    10     ost.put('\t');
    11   //cout << "Verbose(.) called." << endl;
    12   return ost;
     9        for (int i=Verbosity;i--;)
     10                ost.put('\t');
     11        //cout << "Verbose(.) called." << endl;
     12        return ost;
    1313};
    1414
     
    3535        int bits = 1, counter = 1;
    3636        while ((bits = 1 << counter) < BinaryNumber)
    37     counter++;
    38   for (int i=0;i<counter-1;i++) {
    39         if ((BinaryNumber & (1 << i)) == 0)
    40                 ost.put('0');
     37                counter++;
     38        for (int i=0;i<counter-1;i++) {
     39                if ((BinaryNumber & (1 << i)) == 0)
     40                        ost.put('0');
    4141                else
    42                 ost.put('1');
    43   }
    44   ost.put('b');
    45   //cout << "Binary(.) called." << endl;
    46   return ost;
     42                        ost.put('1');
     43        }
     44        ost.put('b');
     45        //cout << "Binary(.) called." << endl;
     46        return ost;
    4747};
    4848
Note: See TracChangeset for help on using the changeset viewer.