diff --git a/opm/autodiff/ConservativeSparseSparseProduct.h b/opm/autodiff/ConservativeSparseSparseProduct.h index b1b036913..7320c8e90 100644 --- a/opm/autodiff/ConservativeSparseSparseProduct.h +++ b/opm/autodiff/ConservativeSparseSparseProduct.h @@ -53,6 +53,7 @@ struct QuickSort< 0 > template static inline void sort(T begin, T end) { + // fall back to standard insertion sort std::sort( begin, end ); } };