Ignore:
Timestamp:
Oct 17, 2009, 5:49:05 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
e72287
Parents:
746bb4
Message:

flip() is now templated.
Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/helpers.cpp

    r746bb4 r543794  
    4949  while (*b < lower_bound)
    5050    *b += step;
    51 };
    52 
    53 /** Flips two doubles.
    54  * \param *x pointer to first double
    55  * \param *y pointer to second double
    56  */
    57 void flip(double *x, double *y)
    58 {
    59   double tmp;
    60   tmp = *x;
    61   *x = *y;
    62   *y = tmp;
    6351};
    6452
Note: See TracChangeset for help on using the changeset viewer.