diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-05-12 16:13:45 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-05-12 16:13:45 +0000 |
commit | 0d4468bbb7bb67ae9d87c4326a7d581215880da5 (patch) | |
tree | 72c2a0c613336efab1fe01c6a45d774f4a2f553f /src | |
parent | c1eb13242eb109cfefd131bb9d7fd7ee42ab6c6d (diff) |
code formatting & comment tweaks
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@585 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/jtutil/array.cc | 2 | ||||
-rw-r--r-- | src/jtutil/util.hh | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/jtutil/array.cc b/src/jtutil/array.cc index 3590d16..7211d72 100644 --- a/src/jtutil/array.cc +++ b/src/jtutil/array.cc @@ -309,7 +309,7 @@ if (we_own_array_) template class jtutil::array1d<int>; // FIXME: we shouldn't have to instantiate these both, the const one -// derivable from the non-const one. :( +// is actually trivially derivable from the non-const one. :( template class jtutil::array1d< void *>; template class jtutil::array1d<const void *>; diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh index 3af7935..75c380b 100644 --- a/src/jtutil/util.hh +++ b/src/jtutil/util.hh @@ -15,8 +15,7 @@ namespace jtutil //****************************************************************************** // how many integers are in the closed interval [low,high] -inline int how_many_in_range(int low, int high) - { return high - low + 1; } +inline int how_many_in_range(int low, int high) { return high - low + 1; } // is an integer even/odd inline int is_even(int i) { return !(i & 0x1); } |