Ignore:
Timestamp:
May 23, 2008, 9:17:19 AM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
6145aa7
Parents:
6c96f4
Message:

Lots of for loops now count in reverse order where it does not matter, some 3 -> NDIM

for(i=0;i<var;i++) is slower than for (i=var;i--;) if the order of the i's is not important (note: i-- is also a value and it stops when on i == 0 automatically)
in builder.cpp there were some remnant 3 actually meant to be NDIM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    r6c96f4 rf75030  
    457457  void Load(char *filename, periodentafel *periode, molecule *mol);
    458458  void LoadOld(char *filename, periodentafel *periode, molecule *mol);
    459   void RetrieveConfigPathAndName(char * filename);
     459  void RetrieveConfigPathAndName(string filename);
    460460  bool Save(ofstream *file, periodentafel *periode, molecule *mol) const;
    461461  void Edit(molecule *mol);
Note: See TracChangeset for help on using the changeset viewer.