]> gitweb.michael.orlitzky.com - octave.git/commitdiff
Add semicolons.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Nov 2012 06:48:10 +0000 (01:48 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Nov 2012 06:48:10 +0000 (01:48 -0500)
c_inner_product.m

index 0ff7f9631dee488c7365d8d4df7676fca131c0e4..1d7bfd1e67122823724ebafb8ee919fe58c9980e 100644 (file)
@@ -19,6 +19,6 @@ function ip = c_inner_product(w, a, b, v1, v2)
   ##
   ## The inner product <v1, v2>.
   ##
-  integrand = @(x) w(x)*v1(x)*v2(x)
-  ip = quad(integrand, a, b)
+  integrand = @(x) w(x)*v1(x)*v2(x);
+  ip = quad(integrand, a, b);
 end