[Trac] #209: check use of set_default_option()
#209: check use of set_default_option() --------------------------+------------------------------------------------- Reporter: michel | Owner: Type: bug | Status: new Priority: major | Milestone: 4.3 Component: Core M-files | Version: Keywords: | --------------------------+------------------------------------------------- set_default_option takes an action only if the field name doesn't exist in options_. But, now, most options have a default value set in global_initialization.m, so most of the calls to set_default_option are useless and may, sometimes, not produce the desired results. -- Ticket URL: <https://www.dynare.org/trac/ticket/209> Dynare <http://www.dynare.org> The Dynare project
#209: check use of set_default_option() ---------------------+------------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: accepted Priority: major | Milestone: 4.3 Component: General | Version: Keywords: | ---------------------+------------------------------------------------------ Changes (by sebastien): * owner: => sebastien * status: new => accepted -- Ticket URL: <https://www.dynare.org/trac/ticket/209#comment:1> Dynare <http://www.dynare.org> The Dynare project
#209: check use of set_default_option() ---------------------+------------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: accepted Priority: major | Milestone: 4.3 Component: General | Version: Keywords: | ---------------------+------------------------------------------------------ Comment(by sebastien): Most simple calls to set_default_option removed in edbf3bd175bebabe1af3868081242809fd7a6fb3 Still need to deal with more complex cases, where the default value is context-dependent. These cases are actually probably buggy when multiple tasks with different contexts are done in the same file. Also the set_default_option is used on purpose for GSA and identification options structures. -- Ticket URL: <https://www.dynare.org/trac/ticket/209#comment:2> Dynare <http://www.dynare.org> The Dynare project
#209: check use of set_default_option() ---------------------+------------------------------------------------------ Reporter: michel | Owner: sebastien Type: bug | Status: accepted Priority: major | Milestone: 5.0 Component: General | Version: Keywords: | ---------------------+------------------------------------------------------ Changes (by sebastien): * milestone: 4.3 => 5.0 -- Ticket URL: <https://www.dynare.org/trac/ticket/209#comment:3> Dynare <http://www.dynare.org> The Dynare project
#209: check use of set_default_option() ----------------------+----------------------- Reporter: michel | Owner: sebastien Type: bug | Status: accepted Priority: major | Milestone: 5.0 Component: General | Version: Resolution: | Keywords: ----------------------+----------------------- Comment (by houtanb): More in 454638d778bc2ceee9091a1c509da00d32c262fc -- Ticket URL: <https://www.dynare.org/trac/ticket/209#comment:4> Dynare <http://www.dynare.org> The Dynare project
participants (1)
-
Trac Dynare