Skip to content

Commit

Permalink
use compact representation of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
daanhb committed Oct 30, 2022
1 parent 0f44dd8 commit 6b3bc87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CompositeTypes"
uuid = "b152e2b5-7a66-4b01-a709-34e65c35f657"
authors = ["Daan Huybrechs <[email protected]>"]
version = "0.1.2"
version = "0.1.3"

[deps]

Expand Down
3 changes: 2 additions & 1 deletion src/Display.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ The conventional compact representation of an object.
This representation is based on `show(io, d)`. If an object has overriden
that method, it can also override this one to avoid a loop.
"""
compact_repr(object) = repr(object)
compact_repr(object) = repr("text/plain", object;
context = IOContext(stdout, :compact => true, :limit => true))

"""
Recursively compute all stencils of the objects linked to by the given object,
Expand Down

0 comments on commit 6b3bc87

Please sign in to comment.