Skip to content

Commit 6ce09af

Browse files
Minor fix to the implementation of show method for RefinementRule
1 parent ee1b98f commit 6ce09af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adaptivity/RefinementRules.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function RefinementRule(T::RefinementRuleType,poly::Polytope,ref_grid::DiscreteM
2121
return RefinementRule(T,poly,ref_grid,p2c_cache)
2222
end
2323

24-
function Base.show(io::IO,rr::RefinementRule{P}) where P
24+
function Base.show(io::IO,rr::RefinementRule{P,A}) where {P,A}
2525
T = RefinementRuleType(rr)
26-
print(io,"RefinementRule{$T,$P}")
26+
print(io,"RefinementRule{$P,$A}. RefinementRuleType=$T")
2727
end
2828

2929
ReferenceFEs.get_polytope(rr::RefinementRule) = rr.poly

0 commit comments

Comments
 (0)