Skip to content

Commit

Permalink
Oops, this must be encoded properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Jul 3, 2024
1 parent ba7f711 commit 22e3026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Futhark/CodeGen/Backends/GenericC/Code.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Data.Map qualified as M
import Data.Maybe
import Data.Text qualified as T
import Futhark.CodeGen.Backends.GenericC.Monad
import Futhark.CodeGen.Backends.GenericC.Pretty (expText, typeText)
import Futhark.CodeGen.Backends.GenericC.Pretty (expText, idText, typeText)
import Futhark.CodeGen.ImpCode
import Futhark.IR.Prop (isBuiltInFunction)
import Futhark.MonadFreshNames
Expand Down Expand Up @@ -373,7 +373,7 @@ compileCode (DeclareArray name t vs) = do
"static "
<> typeText ct
<> " "
<> prettyText name_realtype
<> idText (C.toIdent name_realtype mempty)
<> "["
<> prettyText (length vs')
<> "] = { "
Expand Down

0 comments on commit 22e3026

Please sign in to comment.