Skip to content

Commit 27516bf

Browse files
author
Matthew Emmett
committed
quadrature: Initialize matrix with zeros.
1 parent 4fe0953 commit 27516bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pfasst/quadrature.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ namespace pfasst
236236
const size_t nsrc = src.size();
237237

238238
assert(ndst >= 1);
239-
matrix<node> mat(ndst - 1, nsrc);
239+
matrix<node> mat(ndst - 1, nsrc, node(0.0));
240240

241241
Polynomial<node> p(nsrc + 1), p1(nsrc + 1);
242242

0 commit comments

Comments
 (0)