[Trac] #198: update set_dynare_seed.m to use new function rng
#198: update set_dynare_seed.m to use new function rng --------------------------+------------------------------------------------- Reporter: houtanb | Owner: houtanb Type: bug | Status: new Priority: minor | Milestone: 4.3 Component: Core M-files | Version: Keywords: | --------------------------+------------------------------------------------- NB: rng() introduced in Matlab R2011a -- Ticket URL: <https://www.dynare.org/trac/ticket/198> Dynare <http://www.dynare.org> The Dynare project
#198: update set_dynare_seed.m to use new function rng ---------------------------+------------------------------------------------ Reporter: houtanb | Owner: houtanb Type: bug | Status: closed Priority: minor | Milestone: 4.3 Component: Core M-files | Version: Resolution: wontfix | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien): * status: new => closed * resolution: => wontfix Comment: rng() is a new way of setting the seed for the rand() family functions. It does not add functionality, it is just syntactic sugar. Since we still need to support the old syntaxes, its use would just complicate our code, so it's pointless. -- Ticket URL: <https://www.dynare.org/trac/ticket/198#comment:1> Dynare <http://www.dynare.org> The Dynare project
#198: update set_dynare_seed.m to use new function rng ----------------------+----------------------------------------------------- Reporter: houtanb | Owner: houtanb Type: bug | Status: reopened Priority: minor | Milestone: 4.3 Component: General | Version: Resolution: | Keywords: ----------------------+----------------------------------------------------- Changes (by houtanb): * status: closed => reopened * resolution: wontfix => Comment: In Matlab 2012a prerelease, !RandStream.setDefaultStream deprecated and warnings are issued when it is encountered. set_dynare_seed should be updated once Matlab 2012a is released if these warnings are still being output to screen. Options are to use rng or !RandStream.setGlobalStream for Matlab > 7.13. -- Ticket URL: <https://www.dynare.org/trac/ticket/198#comment:2> Dynare <http://www.dynare.org> The Dynare project
#198: update set_dynare_seed.m ----------------------+----------------------------------------------------- Reporter: houtanb | Owner: houtanb Type: bug | Status: reopened Priority: minor | Milestone: 4.3 Component: General | Version: Resolution: | Keywords: ----------------------+----------------------------------------------------- -- Ticket URL: <https://www.dynare.org/trac/ticket/198#comment:3> Dynare <http://www.dynare.org> The Dynare project
#198: update set_dynare_seed.m ----------------------+----------------------------------------------------- Reporter: houtanb | Owner: sebastien Type: bug | Status: accepted Priority: minor | Milestone: 4.3 Component: General | Version: Resolution: | Keywords: ----------------------+----------------------------------------------------- Changes (by sebastien): * owner: houtanb => sebastien * status: reopened => accepted -- Ticket URL: <https://www.dynare.org/trac/ticket/198#comment:4> Dynare <http://www.dynare.org> The Dynare project
#198: update set_dynare_seed.m ----------------------+----------------------------------------------------- Reporter: houtanb | Owner: sebastien Type: bug | Status: closed Priority: minor | Milestone: 4.3 Component: General | Version: Resolution: fixed | Keywords: ----------------------+----------------------------------------------------- Changes (by sebastien): * status: accepted => closed * resolution: => fixed Comment: Fixed in 6a23afdd48ddb5b8592f699dd6d088f480325adc -- Ticket URL: <https://www.dynare.org/trac/ticket/198#comment:5> Dynare <http://www.dynare.org> The Dynare project
participants (1)
-
Trac Dynare