Skip to content

Commit 513ada0

Browse files
authored
Promote rangespace/domainspace of Conversion (#538)
1 parent d5ff57d commit 513ada0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.9.4"
3+
version = "0.9.5"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

src/Operators/banded/Conversion.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ end
2727
domainspace(C::ConcreteConversion)=C.domainspace
2828
rangespace(C::ConcreteConversion)=C.rangespace
2929

30-
30+
promotedomainspace(C::Conversion, sp::Space) = Conversion(sp, rangespace(C))
31+
promoterangespace(C::Conversion, sp::Space) = Conversion(domainspace(C), sp)
3132

3233
function _implementconversionerror(a, b)
3334
error("Implement Conversion from ", typeof(a), " to ", typeof(b))

0 commit comments

Comments
 (0)