Permalink
Browse files

Once more deBruijnToInt -> idxToInt

  • Loading branch information...
1 parent f6f6222 commit a70ec51c359d52384e8a41b2835a3aed6660acb7 @mchakravarty mchakravarty committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Data/Array/Accelerate/SimpleConverter.hs
@@ -120,7 +120,7 @@ convertAcc (OpenAcc cacc) = convertPreOpenAcc cacc
return$ S.Let v sty a1 a2
Avar idx ->
- do var <- envLookup (deBruijnToInt idx)
+ do var <- envLookup (idxToInt idx)
return$ S.Vr var
------------------------------------------------------------
@@ -255,7 +255,7 @@ convertExp e =
-- Here is where we get to peek at the type of a variable:
Var idx ->
- do var <- envLookup (deBruijnToInt idx)
+ do var <- envLookup (idxToInt idx)
return$ S.EVr var
PrimApp p arg -> convertPrimApp p arg

0 comments on commit a70ec51

Please sign in to comment.