Skip to content

Commit

Permalink
Add uses of the Math module to these two tests to avoid deprecation w…
Browse files Browse the repository at this point in the history
…arnings

divceilpos and divfloorpos will soon no longer be included by default, so these
tests need a use of the Math module to continue working

----
Signed-off-by: Lydia Duncan <[email protected]>
  • Loading branch information
lydia-duncan committed Jul 12, 2023
1 parent 856af3e commit a669a19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ config const printTiming = false;

const shift = (123, 456, 789);

use Random, Time;
use Random, Time, Math;

if numLocales < 3 then halt("numLocales must be >= 3");
var declLocale = Locales(numLocales-1);
Expand Down
2 changes: 1 addition & 1 deletion test/studies/hpcc/HPL/vass/bl.md.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use DimensionalDist2D;
use ReplicatedDim;
use BlockDim;
//use BlockCycDim; //MBC //BC
use Time, Random;
use Time, Random, Math;

config param reproducible = false;
config var verbose = true;
Expand Down

0 comments on commit a669a19

Please sign in to comment.