From 345f0c93051c01cdb5ab879b57f70118978fa9d0 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 485fa06f..491f2d33 100644 --- a/ginac/power.cpp +++ b/ginac/power.cpp @@ -1091,7 +1091,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; for (auto & it : p) { -- 2.44.0