Skip to content

Commit fef0c7f

Browse files
authored
Fix uneven white spaces in code in README (#755)
1 parent b81baa3 commit fef0c7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ plot(u; label="u")
9999
Solve a nonlinear boundary value problem satisfying the ODE `0.001u'' + 6*(1-x^2)*u' + u^2 = 1` with boundary conditions `u(-1)==1`, `u(1)==-0.5` on `[-1,1]`:
100100

101101
```julia
102-
x = Fun()
102+
x = Fun()
103103
u₀ = 0.0x # initial guess
104104
N = u -> [u(-1)-1, u(1)+0.5, 0.001u'' + 6*(1-x^2)*u' + u^2 - 1]
105105
u = newton(N, u₀) # perform Newton iteration in function space
@@ -112,7 +112,7 @@ One can also solve a system nonlinear ODEs with potentially nonlinear boundary c
112112

113113
```julia
114114

115-
x=Fun(identity, 0..1)
115+
x = Fun(identity, 0..1)
116116
N = (u1,u2) -> [u1'(0) - 0.5*u1(0)*u2(0);
117117
u2'(0) + 1;
118118
u1(1) - 1;
@@ -193,7 +193,7 @@ so we specify a lower tolerance to avoid resolving these singularities
193193
completely.
194194

195195
```julia
196-
d = ChebyshevInterval()^2 # Defines a rectangle
196+
d = ChebyshevInterval()^2 # Defines a rectangle
197197
Δ = Laplacian(d) # Represent the Laplacian
198198
f = ones((d)) # one at the boundary
199199
u = \([Dirichlet(d); Δ+100I], [f;0.]; # Solve the PDE

0 commit comments

Comments
 (0)