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.
2 parents 651d894 + 7890233 commit 6e3f4b3Copy full SHA for 6e3f4b3
src/coordinates/coordinates.jl
@@ -14,11 +14,13 @@ Base.eltype(c::CoordinateData) = eltype(typeof(c))
14
cache_size(c::CoordinateData) = cache_size(typeof(c))
15
remaker_of(c::CoordinateData) = parameterless_type(c)
16
17
-struct CompiledCoord{C<:CoordinateData}
+@kwdef struct CompiledCoord{C<:CoordinateData}
18
coord_data::C
19
cache_idxs::UnitRange{Int}
20
end
21
22
+remaker_of(c::CompiledCoord) = parameterless_type(c)
23
+
24
Base.show(io::IO, ::Type{<:CompiledCoord{C}}) where C = print(io, "CompiledCoord{$C}")
25
26
"""
0 commit comments