Commit 8b7a4ae1 authored by Jakob Gabriel's avatar Jakob Gabriel
Browse files

minor bugfix in misc.Backstepping and misc.subsurf

parent 14ef1e9a
......@@ -251,14 +251,14 @@ classdef Backstepping < handle & matlab.mixin.Copyable
% get grid
if ~isempty(obj.kernel) && ~isempty(obj.kernelInverse)
myGrid = obj.kernel.grid;
if numel(myGrid{1}) < numel(obj.kernelInverse.grid{1})
myGrid = obj.kernelInverse.grid;
myGrid = obj.kernel(1).grid;
if numel(myGrid{1}) < numel(obj.kernelInverse(1).grid{1})
myGrid = obj.kernelInverse(1).grid;
end
elseif ~isempty(obj.kernel)
myGrid = obj.kernel.grid;
myGrid = obj.kernel(1).grid;
elseif ~isempty(obj.kernelInverse)
myGrid = obj.kernelInverse.grid;
myGrid = obj.kernelInverse(1).grid;
end
% get domainSelector depending on ojb.integralBounds
......
Supports Markdown
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