Skip to content

Commit 6322fdd

Browse files
committed
Fix code snippet
1 parent 4d17d2b commit 6322fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ async def cost(x):
130130
await clone.run(fallback=True) # Run locally if Slurm is not available
131131
return abs(clone[-1]["U"].internal_field[0][0])
132132
133-
result = differential_evolution(cost, bounds=[(-1, 1)], workers=AsyncFoamCase.map, polish=False)
133+
result = differential_evolution(cost, bounds=[(-1, 1)], workers=AsyncSlurmFoamCase.map, polish=False)
134134
```
135135

136136
### 📄 Use it to create a `run` (or `clean`) script

0 commit comments

Comments
 (0)