Skip to content

Commit 15a9980

Browse files
authored
Merge pull request #4940 from firedrakeproject/pbrubeck/merge-release
2 parents dc905aa + f7b4b04 commit 15a9980

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

docs/source/tutorial_mar_26.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ The course will begin at 13:00 on March 18 and end at 16:00 on March 20.
4343
Schedule
4444
--------
4545

46-
Wed Mar 18
47-
==========
46+
Wed Mar 18 (room L4)
47+
====================
4848

4949
+-------------+------------------------------------+
5050
| Time | Session |
@@ -56,8 +56,8 @@ Wed Mar 18
5656
| 15:15–17:00 | Meshing with Netgen. Adaptivity |
5757
+-------------+------------------------------------+
5858

59-
Thu Mar 19
60-
==========
59+
Thu Mar 19 (room L4)
60+
====================
6161

6262
+-------------+-------------------------------------+
6363
| Time | Session |
@@ -77,8 +77,8 @@ Thu Mar 19
7777
| 16:15-18:00 | Hyperelasticity. Multiple solutions |
7878
+-------------+-------------------------------------+
7979

80-
Fri Mar 20
81-
==========
80+
Fri Mar 20 (room L2)
81+
====================
8282

8383
+-------------+------------------------------------+
8484
| Time | Session |

firedrake/deflation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def solve(self, snes, b, x):
9494
snes.reason = self.inner.reason
9595

9696
# Record the solution we've just found
97-
self.deflation.append(Function(self.problem.u))
97+
if snes.reason > 0:
98+
self.deflation.append(Function(self.problem.u))
9899

99100
return out
100101

tests/pyop2/test_caching.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ def test_writing_large_so():
821821
COMM_WORLD.Barrier()
822822
with open("big.c", "r") as fh:
823823
program = fh.read()
824+
COMM_WORLD.Barrier()
824825

825826
if COMM_WORLD.rank == 1:
826827
os.remove("big.c")

0 commit comments

Comments
 (0)