File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
153153noCyclesNt :: Sat -> NtGraph -> IO ()
154154noCyclesNt sat g | IM. null g = return ()
Original file line number Diff line number Diff 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
217217getVisCount :: [Nt ] -> InterfaceRes -> VisCount
You can’t perform that action at this time.
0 commit comments