]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/parallel/partial_sum.h
base.h: Added plus and multiplies functor for differently typed objects.
[thirdparty/gcc.git] / libstdc++-v3 / include / parallel / partial_sum.h
index 31ded50733bc37df5be770ff72b2918de4592a4d..fbba6860184dcecec9276220719e703385b23a20 100644 (file)
@@ -190,7 +190,7 @@ namespace __gnu_parallel
       default:
        // Partial_sum algorithm not implemented.
        _GLIBCXX_PARALLEL_ASSERT(0);
-       return end;
+       return result + n;
       }
   }
 }