Commit 22d3ebc8 authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

missing obj. reference for model matrices

parent ab293a0a
......@@ -194,7 +194,7 @@ end
% use only obj.nturns matrix
sizehRM = size(obj.ModelRM.TrajHCor{1},1);
first_nan = find(isnan(ModelRM.TrajHCor{1}(1))||isnan(ModelRM.TrajHCor{3}(1)),1,'first');
first_nan = find(isnan(obj.ModelRM.TrajHCor{1}(1))||isnan(obj.ModelRM.TrajHCor{3}(1)),1,'first');
if isempty(first_nan)
first_nan = sizehRM;
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