diff options
author | Barry Wardell <barry.wardell@gmail.com> | 2012-02-05 11:33:37 +0000 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-02-09 10:13:56 +0000 |
commit | 4b9da3393b67b7b8f75396c6d8e7abef86ee7b27 (patch) | |
tree | 35833dc4b20a596b37296101346e8b38847331dd | |
parent | 64f15729d15b7b23488e870942f2ff5600d2ec28 (diff) |
Don't assume ExecuteOn has been specified for a calculation.
-rw-r--r-- | Tools/CodeGen/Calculation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/Calculation.m b/Tools/CodeGen/Calculation.m index 8b5d0ce..c74c44d 100644 --- a/Tools/CodeGen/Calculation.m +++ b/Tools/CodeGen/Calculation.m @@ -99,7 +99,7 @@ DefFn[ DefFn[ CalculationOnDevice[calc_List] := - lookup[calc, ExecuteOn] === Device]; + lookupDefault[calc, ExecuteOn, Automatic] === Device]; End[]; |