Skip to content

Commit

Permalink
Update v0_9_0.md (#193)
Browse files Browse the repository at this point in the history
Fix typo in `FunctionSpace` declaration
  • Loading branch information
jorgensd authored Oct 28, 2024
1 parent ba739b7 commit b0ffb77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/v0_9_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ Related to the introduction of [mixed dimensional assembly](#mixed-assembly), ha
With `ufl.MixedFunctionSpace` and `ufl.extract_blocks` the users can now create simple variational formulations

```python
V = dolfinx.fem.FunctionSpace(domain, ("Lagrange", 2))
Q = dolfinx.fem.FunctionSpace(submesh, ("Lagrange", 1))
V = dolfinx.fem.functionspace(domain, ("Lagrange", 2))
Q = dolfinx.fem.functionspace(submesh, ("Lagrange", 1))

# Create mixed problem residual F
W = ufl.MixedFunctionSpace(V, Q)
Expand Down

0 comments on commit b0ffb77

Please sign in to comment.