From aa9bbf8f064748d10a6a42eb97bac9899e31acd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Wed, 30 Jan 2013 16:58:15 +0100 Subject: [PATCH] Add missing semicolons --- matlab/get_dynare_random_generator_state.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/matlab/get_dynare_random_generator_state.m b/matlab/get_dynare_random_generator_state.m index 32ae73195..42cf80a38 100644 --- a/matlab/get_dynare_random_generator_state.m +++ b/matlab/get_dynare_random_generator_state.m @@ -5,8 +5,8 @@ function [state_u,state_n] = get_dynare_random_generator_state() % one for normally distributed numbers. % For backward compatibility, we return two vectors, but, in recent % versions of Matlab and in Octave, we return two identical vectors. -% -% Copyright (C) 2010-2012 Dynare Team + +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % @@ -32,13 +32,13 @@ function [state_u,state_n] = get_dynare_random_generator_state() s = RandStream.getGlobalStream(); end if isequal(s.Type,'legacy') - state_u = rand('state') - state_n = randn('state') + state_u = rand('state'); + state_n = randn('state'); else state_u = s.State; state_n = state_u; end else% Use old matlab interface. - state_u = rand('state') - state_n = randn('state') + state_u = rand('state'); + state_n = randn('state'); end \ No newline at end of file