rgiordan / StanSensitivity

Tools for automatically generating local sensitivity measures in Stan.
Apache License 2.0
35 stars 4 forks source link

Have script work with python 2 and python 3 #25

Open rgiordan opened 5 years ago

rgiordan commented 5 years ago

If python 2 is the system default, the script will fail with an OrderedDict error.

nick0072 commented 5 years ago

The OrderedDict constructor and update() method both accept keyword arguments, but their order is lost because Python’s function call semantics pass-in keyword arguments using a regular unordered dictionary.