diff options
author | Josh Blum | 2012-09-20 18:10:34 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-20 18:10:34 -0700 |
commit | 70d6105c6a5356e2b5dadeae45751239c080cace (patch) | |
tree | 7cc4ac9c1ecf3cd83f9c686c533751596ec984ac /lib/element_impl.hpp | |
parent | 6fed7c8bd373fcde314afeac8e0b110b642c31c6 (diff) | |
download | sandhi-70d6105c6a5356e2b5dadeae45751239c080cace.tar.gz sandhi-70d6105c6a5356e2b5dadeae45751239c080cace.tar.bz2 sandhi-70d6105c6a5356e2b5dadeae45751239c080cace.zip |
fun with inlines
Diffstat (limited to 'lib/element_impl.hpp')
-rw-r--r-- | lib/element_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/element_impl.hpp b/lib/element_impl.hpp index 39895fe..d791cb7 100644 --- a/lib/element_impl.hpp +++ b/lib/element_impl.hpp @@ -33,12 +33,12 @@ #include <vector> #include <queue> -static inline unsigned long myulround(const double x) +static GRAS_FORCE_INLINE unsigned long myulround(const double x) { return (unsigned long)(x + 0.5); } -static inline unsigned long long myullround(const double x) +static GRAS_FORCE_INLINE unsigned long long myullround(const double x) { return (unsigned long long)(x + 0.5); } |