Skip to content

Commit

Permalink
fix bug introduced in e95a0fc
Browse files Browse the repository at this point in the history
  • Loading branch information
tholden committed Aug 30, 2017
1 parent 7062e16 commit 4b72e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/OBCSimulation/PerformCubature.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function [ y, GlobalVarianceShare ] = PerformCubature( y, UnconstrainedReturnPath, oo, dynareOBC, FirstOrderSimulation, DisableParFor, varargin )
function [ y, GlobalVarianceShare ] = PerformCubature( UnconstrainedReturnPath, oo, dynareOBC, FirstOrderSimulation, DisableParFor, varargin )

[ RootConditionalCovariance, GlobalVarianceShare ] = RetrieveConditionalCovariances( oo, dynareOBC, FirstOrderSimulation );
d = size( RootConditionalCovariance, 2 );
Expand Down Expand Up @@ -43,7 +43,7 @@
p = [];
end

yMatrix = zeros( size( y, 1 ), size( CubatureWeights, 2 ) );
yMatrix = zeros( dynareOBC.TimeToEscapeBounds * dynareOBC.NumberOfMax, size( CubatureWeights, 2 ) );

if ~isempty( p )
p.progress;
Expand Down

0 comments on commit 4b72e5c

Please sign in to comment.