diff +scheme/+bc/verifyFormat.m @ 878:51cc7b05b4ab bcSetupExperiment

Fix bugs in forcingSetup and verifyFormat
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 02 Nov 2018 11:11:50 +0100
parents f190e35bb57a
children
line wrap: on
line diff
--- a/+scheme/+bc/verifyFormat.m	Thu Nov 01 16:01:33 2018 +0100
+++ b/+scheme/+bc/verifyFormat.m	Fri Nov 02 11:11:50 2018 +0100
@@ -25,7 +25,7 @@
         if nargin(bcs{i}.data) == 1
             % Grid data (only function of time)
             % Assert that the data has the correct dimension
-            assertSize(bcs{i}.data(0), 1, size(b));
+            assertSize(bcs{i}.data(0), 1, size(b,1));
         end
     end
 end