#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
#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.
#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.
#198: update set_dynare_seed.m ----------------------+----------------------------------------------------- Reporter: houtanb | Owner: houtanb Type: bug | Status: reopened Priority: minor | Milestone: 4.3 Component: General | Version: Resolution: | Keywords: ----------------------+-----------------------------------------------------
#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
#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