spine-tools / SpineOpt.jl

A highly adaptable modelling framework for multi-energy systems
https://www.tools-for-energy-system-modelling.org/
GNU General Public License v3.0
58 stars 13 forks source link

Remove specify the key_type of the dictionary for economic parameters outputs #1083

Closed datejada closed 2 months ago

datejada commented 2 months ago
          Why do you need to specify the key_type of the dictionary? I believe just `Dict(...)` will have the same effect here - remember Julia infers the type from the element when possible and I believe this is one of these cases.

_Originally posted by @manuelma in https://github.com/spine-tools/SpineOpt.jl/pull/1058#discussion_r1741685969_