File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ The alias function `lineintegral` works for this geometry since it has one
8282parametric dimension. However, the aliases ` surfaceintegral ` and ` volumeintegral `
8383will 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
8888ERROR: 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
9191ERROR: ArgumentError: Performing a volume integral on a geometry with 1 parametric dimensions not supported.
9292```
9393
You can’t perform that action at this time.
0 commit comments