-
-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
For example, I have code like this:
"""
Lattice(data::AbstractMatrix)
Construct a `Lattice` from a matrix.
!!! note
The basis vectors of the matrix are stored as columns.
# Examples
```jldoctest
julia> Lattice([
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
])
3×3 Lattice{Float64}
1.2 4.5 7.8
2.3 5.6 8.9
3.4 6.7 9.1
```
"""
and getting errors like this:
│ Subexpression:
│
│ Lattice([
│
│ Evaluated output:
│
│ ERROR: syntax: incomplete: premature end of input
│ Stacktrace:
│ [1] top-level scope
│ @ none:1
│
│ Expected output:
│
│ 1.2 4.5 7.8
│ 2.3 5.6 8.9
│ 3.4 6.7 9.1
│ ])
│ 3×3 Lattice{Float64}
│ 1.2 4.5 7.8
│ 2.3 5.6 8.9
│ 3.4 6.7 9.1
│
│ diff =
│ Warning: Diff output requires color.
│ 1.2 4.5 7.8
│ 2.3 5.6 8.9
│ 3.4 6.7 9.1
│ ])
│ 3×3 Lattice{Float64}
│ 1.2 4.5 7.8
│ 2.3 5.6 8.9
│ 3.4 6.7 9.1ERROR: syntax: incomplete: premature end of input
│ Stacktrace:
│ [1] top-level scope
│ @ none:1
Similar to #328
Metadata
Metadata
Assignees
Labels
No labels