From aa722555bcb6f44365d1b653c720a91f8c7225e4 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Fri, 6 Nov 2015 15:04:49 +0100 Subject: [PATCH] Fix little missed optimization. --- ginac/power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/power.cpp b/ginac/power.cpp index 28e5bd3a..7298d569 100644 --- a/ginac/power.cpp +++ b/ginac/power.cpp @@ -1097,7 +1097,7 @@ public: * where n = p1+p2+...+pk, i.e. p is a partition of n. */ const numeric -multinomial_coefficient(const std::vector p) +multinomial_coefficient(const std::vector & p) { numeric n = 0, d = 1; std::vector::const_iterator it = p.begin(), itend = p.end(); -- 2.44.0