Skip to content

d.time should return AbstractTimestep things #538

@davidanthoff

Description

@davidanthoff

I think that d.time inside run_timestep should return things that one can use to index into variables and parameters directly. Right now it seems to return Ints instead, which we should actively discourage for indexing use.

Ideally things like first(d.time) and last(d.time) would just work. And then we should try to get something like first(d.time):last(d.time) to work to get a range that includes every timestep.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions