Skip to content

Commit 9cbcb12

Browse files
committed
Add repl prompts
1 parent 8e498cc commit 9cbcb12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ The alias function `lineintegral` works for this geometry since it has one
8282
parametric dimension. However, the aliases `surfaceintegral` and `volumeintegral`
8383
will throw an `ArgumentError` since the geometry is not a surface or volume.
8484
```jldoctest tutorial
85-
lineintegral(f, curve) # -> Approximately 2π Ω
85+
julia> lineintegral(f, curve) # -> Approximately 2π Ω
8686
87-
surfaceintegral(f, curve) # -> throws ArgumentError
87+
julia> surfaceintegral(f, curve) # -> throws ArgumentError
8888
ERROR: ArgumentError: Performing a surface integral on a geometry with 1 parametric dimensions not supported.
8989
90-
volumeintegral(f, curve) # -> throws ArgumentError
90+
julia> volumeintegral(f, curve) # -> throws ArgumentError
9191
ERROR: ArgumentError: Performing a volume integral on a geometry with 1 parametric dimensions not supported.
9292
```
9393

0 commit comments

Comments
 (0)