Rearrange csvFromInit
This commit is contained in:
parent
ed6a0c5bc1
commit
f150994cc7
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ csvFromInit :: Int -- ^ The number of time steps to keep
|
||||||
-> Double -- ^ The Barnes-Hut threshold theta
|
-> Double -- ^ The Barnes-Hut threshold theta
|
||||||
-> [Body] -- ^ The initial state (list of bodies)
|
-> [Body] -- ^ The initial state (list of bodies)
|
||||||
-> String -- ^ CSV data
|
-> String -- ^ CSV data
|
||||||
csvFromInit n dt theta b = concat . take n $ map (uncurry csvFromBodies) (steps dt theta b)
|
csvFromInit n dt theta b = concat $ map (uncurry csvFromBodies) (take n $ steps dt theta b)
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue