From 3afc4c21696f0736e4dc2b78700a9569291f66bc Mon Sep 17 00:00:00 2001 From: Ben Wilfong <48168887+wilfonba@users.noreply.github.com> Date: Sun, 28 Jan 2024 12:51:17 -0500 Subject: [PATCH 1/3] Bug fix --- src/simulation/m_rhs.fpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/m_rhs.fpp b/src/simulation/m_rhs.fpp index 6480defd2..d76dcbc8a 100644 --- a/src/simulation/m_rhs.fpp +++ b/src/simulation/m_rhs.fpp @@ -1474,7 +1474,7 @@ contains flux_src_n(id)%vf, id, -1, ix, iy, iz) end if - if (bc_z%end <= -5 .and. bc_z%beg >= -13) then + if (bc_z%end <= -5 .and. bc_z%end >= -13) then call s_cbc(q_prim_qp%vf, flux_n(id)%vf, & flux_src_n(id)%vf, id, 1, ix, iy, iz) end if From ed2fa99c1596cf335306be5799bbaa2c217f9164 Mon Sep 17 00:00:00 2001 From: Ben Wilfong <48168887+wilfonba@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:47:41 -0500 Subject: [PATCH 2/3] toolchain patch for older python versions --- toolchain/mfc/bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/mfc/bench.py b/toolchain/mfc/bench.py index f2429e4c0..2f31d5f44 100644 --- a/toolchain/mfc/bench.py +++ b/toolchain/mfc/bench.py @@ -1,6 +1,6 @@ import os, sys, uuid, subprocess, dataclasses -import rich.table +import rich.table, typing from .printer import cons from .state import ARG, CFG @@ -13,7 +13,7 @@ class BenchCase: slug: str path: str - args: list[str] + args: typing.List[str] def bench(targets = None): From e4f7e845f1784788df40d723bfcb0f4defb505cf Mon Sep 17 00:00:00 2001 From: Ben Wilfong <48168887+wilfonba@users.noreply.github.com> Date: Fri, 9 Feb 2024 18:18:16 -0500 Subject: [PATCH 3/3] move import --- toolchain/mfc/bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/mfc/bench.py b/toolchain/mfc/bench.py index 2f31d5f44..8843de350 100644 --- a/toolchain/mfc/bench.py +++ b/toolchain/mfc/bench.py @@ -1,6 +1,6 @@ -import os, sys, uuid, subprocess, dataclasses +import os, sys, uuid, subprocess, dataclasses, typing -import rich.table, typing +import rich.table from .printer import cons from .state import ARG, CFG