changeset 31206:7ae0a0772e9d

maint: merge stable to default
author Arun Giridhar <arungiridhar@gmail.com>
date Sun, 28 Aug 2022 12:21:36 -0400
parents a81fad5c9fef (current diff) b0e90ca8e679 (diff)
children a523e976b841
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/quad2d.m	Sat Aug 27 13:41:44 2022 +0200
+++ b/scripts/general/quad2d.m	Sun Aug 28 12:21:36 2022 -0400
@@ -407,8 +407,8 @@
   ty = ty * ones (1, 15);
 
   z = yhalfwidth .* f (x, y) .* ztrans(tx, ty) .* xhalfwidth;
-  q = weights15 * (weights15 * z)';
-  qerr = abs (weights7 * (weights7 * z)' - q);
+  q = weights15 * (weights15 * z).';
+  qerr = abs (weights7 * (weights7 * z).' - q);
 
 endfunction