Skip to content

Commit 09105e5

Browse files
authored
Fix missing docstring for Map (#190)
* Update maps.jl * Update index.md
1 parent 61991d4 commit 09105e5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/src/index.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ ContinuumArrays.MulPlan
5656
ContinuumArrays.PiecewiseBasis
5757
```
5858
```@docs
59+
ContinuumArrays.Map
60+
```
61+
```@docs
5962
ContinuumArrays.MappedFactorization
6063
```
6164
```@docs
@@ -76,4 +79,4 @@ ContinuumArrays.HvcatBasis
7679
```@docs
7780
ContinuumArrays.ProjectionFactorization
7881
```
79-
```
82+
```

src/maps.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ is `union(m)`.
1010
Maps must also overload `invmap` to give the inverse of the map, which
1111
is equivalent to `invmap(m)[x] == findfirst(isequal(x), m)`.
1212
"""
13-
1413
abstract type Map{T} <: AbstractQuasiVector{T} end
1514

1615
invmap(M::Map) = error("Overload invmap(::$(typeof(M)))")
@@ -170,4 +169,4 @@ show(io::IO, P::Union{AffineMappedQuasiVector,AffineMappedQuasiMatrix}) = print(
170169
function summary(io::IO, P::Union{AffineMappedQuasiVector,AffineMappedQuasiMatrix})
171170
summary(io, parent(P))
172171
print(io, " affine mapped to $(parentindices(P)[1].x.domain)")
173-
end
172+
end

0 commit comments

Comments
 (0)