Changeset 81c129


Ignore:
Timestamp:
Feb 26, 2010, 9:54:46 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
06e3ff
Parents:
7a9881
Message:

FIX: Values in FindNonConvexBorder() and molecule::ConstrainedPotential() were used uninitialized.

Location:
molecuilder/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r7a9881 r81c129  
    964964  bool freeLC = false;
    965965  bool status = false;
    966   CandidateForTesselation *baseline;
     966  CandidateForTesselation *baseline = NULL;
    967967  LineMap::iterator testline;
    968968  bool OneLoopWithoutSuccessFlag = true;  // marks whether we went once through all baselines without finding any without two triangles
  • molecuilder/src/molecule_dynamics.cpp

    r7a9881 r81c129  
    162162double molecule::ConstrainedPotential(struct EvaluatePotential &Params)
    163163{
    164   double tmp, result;
     164  double tmp = 0.;
     165  double result = 0.;
    165166
    166167  // go through every atom
Note: See TracChangeset for help on using the changeset viewer.