Skip to content

Commit ec1751a

Browse files
committed
rename moment to tuple
1 parent 9ea6dc1 commit ec1751a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/mir/timeseries.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ import std.meta;
6868

6969
/++
7070
Plain time moment data structure.
71-
Moment are used as return tuple for for indexing $(LREF Series).
71+
Observation are used as return tuple for for indexing $(LREF Series).
7272
+/
73-
struct Moment(Time, Data)
73+
struct Observation(Time, Data)
7474
{
7575
/// Date, date-time, time, or integer.
7676
Time time;
7777
/// Value or ndslice.
7878
Data data;
7979
}
8080

81-
/// Convenient function for $(LREF Moment) construction.
81+
/// Convenient function for $(LREF Observation) construction.
8282
auto moment(Time, Data)(Time time, Data data)
8383
{
84-
return Moment!(Time, Data)(time, data);
84+
return Observation!(Time, Data)(time, data);
8585
}
8686

8787
/++

0 commit comments

Comments
 (0)