]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.h
- fixes to the indentation
[ginac.git] / ginac / utils.h
index b7d47c49bb747945c264ceea941729d74a30d71b..3af14c7ba25b922e7b60b8dccd49185bc2fc1b3f 100644 (file)
@@ -105,11 +105,10 @@ inline unsigned golden_ratio_hash(unsigned n)
 }
 
 // modified from stl_algo.h: always do com(*first1,*first2) instead of comp(*first2,*first1)
-template <class InputIterator1, class InputIterator2, class OutputIterator,
-                 class Compare>
+template <class InputIterator1, class InputIterator2, class OutputIterator, class Compare>
 OutputIterator mymerge(InputIterator1 first1, InputIterator1 last1,
-                                          InputIterator2 first2, InputIterator2 last2,
-                                          OutputIterator result, Compare comp) {
+                       InputIterator2 first2, InputIterator2 last2,
+                       OutputIterator result, Compare comp) {
        while (first1 != last1 && first2 != last2) {
                if (comp(*first1, *first2)) {
                        *result = *first1;
@@ -126,11 +125,11 @@ OutputIterator mymerge(InputIterator1 first1, InputIterator1 last1,
 
 // like merge(), but three lists with *last2<*first3
 template <class InputIterator1, class InputIterator2, class InputIterator3,
-                 class OutputIterator, class Compare>
+          class OutputIterator, class Compare>
 OutputIterator mymerge3(InputIterator1 first1, InputIterator1 last1,
-                                               InputIterator2 first2, InputIterator2 last2,
-                                               InputIterator3 first3, InputIterator3 last3,
-                                               OutputIterator result, Compare comp) {
+                        InputIterator2 first2, InputIterator2 last2,
+                        InputIterator3 first3, InputIterator3 last3,
+                        OutputIterator result, Compare comp) {
        while (first1 != last1 && first2 != last2) {
                if (comp(*first1, *first2)) {
                        *result = *first1;