Skip to content

Commit

Permalink
Remove showfull (seemingly unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbenet committed Mar 14, 2024
1 parent 7ce2640 commit 5e64f9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
2 changes: 0 additions & 2 deletions src/TaylorModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import TaylorSeries: integrate, get_order, evaluate, pretty_print,
constant_term, linear_polynomial, nonlinear_polynomial,
fixorder, get_numvars

import IntervalArithmetic: showfull

import LinearAlgebra: norm

export TaylorModel1, RTaylorModel1, TaylorModelN, TMSol
Expand Down
23 changes: 12 additions & 11 deletions src/show.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# show.jl

function showfull(io::IO, f::Union{TaylorModel1, RTaylorModel1, TaylorModelN})
print(io,
"""Taylor model of degree $(get_order(f)):
- x0: $(expansion_point(f))
- I: $(domain(f))
- p: $(polynomial(f))
- Δ: $(remainder(f))
"""
)
end
showfull(x) = showfull(stdout::IO, x)
# Is the following really needed?
# function showfull(io::IO, f::Union{TaylorModel1, RTaylorModel1, TaylorModelN})
# print(io,
# """Taylor model of degree $(get_order(f)):
# - x0: $(expansion_point(f))
# - I: $(domain(f))
# - p: $(polynomial(f))
# - Δ: $(remainder(f))
# """
# )
# end
# showfull(x) = showfull(stdout::IO, x)

function show(io::IO, a::Union{TaylorModel1, RTaylorModel1, TaylorModelN})
if TaylorSeries._show_default[end]
Expand Down

0 comments on commit 5e64f9f

Please sign in to comment.