Commit 0e127f5c authored by Simon Waldman's avatar Simon Waldman

find_nesting_region If somebody made the same mistake as me, and thought that...

find_nesting_region If somebody made the same mistake as me, and thought that conf.power was per boundary, raise an error rather than doing everything wrong.
parent e806e5c7
......@@ -111,6 +111,8 @@ function Nested = find_nesting_region(conf, Mobj)
[~, subname] = fileparts(mfilename('fullpath'));
assert(isscalar(conf.power), 'conf.power should be scalar, applying to all open boundaries');
global ftbverbose
if isempty(ftbverbose)
ftbverbose=false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment