From 5501e1674759501eca69029b5b4e4f05cbe3e236 Mon Sep 17 00:00:00 2001 From: Anjiang-Wei <43546559+Anjiang-Wei@users.noreply.github.com> Date: Sun, 4 Dec 2022 08:43:14 -0800 Subject: [PATCH] Update formula of 1D Stencil for tutorial --- tutorial/08_multiple_partitions/multiple_partitions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/08_multiple_partitions/multiple_partitions.cc b/tutorial/08_multiple_partitions/multiple_partitions.cc index e444f4145a..aef8a389a0 100644 --- a/tutorial/08_multiple_partitions/multiple_partitions.cc +++ b/tutorial/08_multiple_partitions/multiple_partitions.cc @@ -28,7 +28,7 @@ using namespace Legion; * provides by allowing multiple views onto the * same logical region. We compute a simple 5-point * 1D stencil using the standard formula: - * f'(x) = (-f(x+2h) + 8f(x+h) - 8f(x-h) + f(x-2h))/12h + * f'(x) = (-f(x-2h) + 8f(x-h) - 8f(x+h) + f(x+2h))/12h * For simplicity we'll assume h=1. */