Skip to content

Commit c9a5daf

Browse files
committed
Document abstract interface
1 parent c503427 commit c9a5daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ abstract type AbstractQuantity{T,D} end
77
abstract type AbstractDimensions{R} end
88

99
"""
10-
Dimensions{R}
10+
Dimensions{R} <: AbstractDimensions{R}
1111
1212
A type representing the dimensions of a quantity, with each
1313
field giving the power of the corresponding dimension. For
@@ -51,7 +51,7 @@ end
5151
const DEFAULT_DIM_TYPE = Dimensions{DEFAULT_DIM_BASE_TYPE}
5252

5353
"""
54-
Quantity{T,D}
54+
Quantity{T,D} <: AbstractQuantity{T,D}
5555
5656
Physical quantity with value `value` of type `T` and dimensions `dimensions` of type `D`.
5757
For example, the velocity of an object with mass 1 kg and velocity

0 commit comments

Comments
 (0)