We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c503427 commit c9a5dafCopy full SHA for c9a5daf
src/types.jl
@@ -7,7 +7,7 @@ abstract type AbstractQuantity{T,D} end
7
abstract type AbstractDimensions{R} end
8
9
"""
10
- Dimensions{R}
+ Dimensions{R} <: AbstractDimensions{R}
11
12
A type representing the dimensions of a quantity, with each
13
field giving the power of the corresponding dimension. For
@@ -51,7 +51,7 @@ end
51
const DEFAULT_DIM_TYPE = Dimensions{DEFAULT_DIM_BASE_TYPE}
52
53
54
- Quantity{T,D}
+ Quantity{T,D} <: AbstractQuantity{T,D}
55
56
Physical quantity with value `value` of type `T` and dimensions `dimensions` of type `D`.
57
For example, the velocity of an object with mass 1 kg and velocity
0 commit comments