Skip to content

Commit fb4c6b3

Browse files
author
Jaro Reinders
committed
Fix LOAG errors
1 parent b593ae3 commit fb4c6b3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

uuagc/trunk/src/LOAG/Chordal.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ scheduleLOAG ag@(Ag nbounds pbounds dps nts) putStrLn opts = do
133133
, let pred = varMap M.! (i,s)
134134
]
135135
forM dps $ \(f,t) -> do
136-
modifyArray edp t (f `IS.insert`)
136+
LOAG.Common.modifyArray edp t (f `IS.insert`)
137137
f_idsf <- freeze idsf
138138
f_idst <- freeze idst
139139
f_edp <- freeze edp
@@ -145,10 +145,10 @@ scheduleLOAG ag@(Ag nbounds pbounds dps nts) putStrLn opts = do
145145
-> IOArray Vertex Vertices
146146
-> IO [()]
147147
addEdges (f,t) es (idsf,idst) edp = do
148-
modifyArray idsf f (t `IS.insert`)
149-
modifyArray idst t (f `IS.insert`)
148+
LOAG.Common.modifyArray idsf f (t `IS.insert`)
149+
LOAG.Common.modifyArray idst t (f `IS.insert`)
150150
forM es $ \(f,t) -> do --edp does not reflect flow
151-
modifyArray edp t (f `IS.insert`)
151+
LOAG.Common.modifyArray edp t (f `IS.insert`)
152152

153153
noCyclesNt :: Sat -> NtGraph -> IO ()
154154
noCyclesNt sat g | IM.null g = return ()

uuagc/trunk/src/LOAG/Optimise.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ newSchedule sat varMap nbounds tp@(Nt nt _ _ inhs outs _ ) sched = do
210210
-> (IOArray Vertex Vertices, IOArray Vertex Vertices)
211211
-> IO ()
212212
addEdges (f,t) (idsf,idst) = do
213-
modifyArray idsf f (t `IS.insert`)
214-
modifyArray idst t (f `IS.insert`)
213+
LOAG.Common.modifyArray idsf f (t `IS.insert`)
214+
LOAG.Common.modifyArray idst t (f `IS.insert`)
215215

216216
-- | count the (max, avg, total) number of visits
217217
getVisCount :: [Nt] -> InterfaceRes -> VisCount

0 commit comments

Comments
 (0)