Commit 6aa7cd49 by Paolo Carlini Committed by Paolo Carlini

numeric (__adjacent_difference_switch): Fix typo.

2009-10-09  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/parallel/numeric (__adjacent_difference_switch): Fix typo.
	* include/parallel/for_each_selectors.h
	(__adjacent_difference_selector): Likewise.

From-SVN: r152589
parent b1b07c92
2009-10-09 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/numeric (__adjacent_difference_switch): Fix typo.
* include/parallel/for_each_selectors.h
(__adjacent_difference_selector): Likewise.
2009-10-08 Paolo Carlini <paolo.carlini@oracle.com> 2009-10-08 Paolo Carlini <paolo.carlini@oracle.com>
* include/ext/bitmap_allocator.h: Minor clean-ups. * include/ext/bitmap_allocator.h: Minor clean-ups.
......
...@@ -277,7 +277,7 @@ namespace __gnu_parallel ...@@ -277,7 +277,7 @@ namespace __gnu_parallel
{ {
typename _It::first_type __go_back_one = __i.first; typename _It::first_type __go_back_one = __i.first;
--__go_back_one; --__go_back_one;
*__i.__second = __o(*__i.__first, *__go_back_one); *__i.second = __o(*__i.first, *__go_back_one);
return true; return true;
} }
}; };
......
...@@ -435,7 +435,7 @@ __gnu_parallel::sequential_tag()); } ...@@ -435,7 +435,7 @@ __gnu_parallel::sequential_tag()); }
__for_each_template_random_access_ed( __for_each_template_random_access_ed(
__begin_pair, __end_pair, __bin_op, __functionality, __begin_pair, __end_pair, __bin_op, __functionality,
__gnu_parallel::_DummyReduct(), __dummy, __dummy, -1); __gnu_parallel::_DummyReduct(), __dummy, __dummy, -1);
return __functionality.finish_iterator; return __functionality._M_finish_iterator;
} }
else else
return adjacent_difference(__begin, __end, __result, __bin_op, return adjacent_difference(__begin, __end, __result, __bin_op,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment