git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Parallel Programming - Stuff happened
[matches/honours.git]
/
course
/
semester2
/
pprog
/
assignment1
/
single-thread
/
nbody.h
diff --git
a/course/semester2/pprog/assignment1/single-thread/nbody.h
b/course/semester2/pprog/assignment1/single-thread/nbody.h
index
a041574
..
4d53f9d
100644
(file)
--- a/
course/semester2/pprog/assignment1/single-thread/nbody.h
+++ b/
course/semester2/pprog/assignment1/single-thread/nbody.h
@@
-33,7
+33,7
@@
else \
//Macro to be overwritten in multithreaded versions, called before the graphics is allowed to draw anything
#define BeforeDraw() \
//Macro to be overwritten in multithreaded versions, called before the graphics is allowed to draw anything
#define BeforeDraw() \
-if (options.verbosity != 0 && universe.steps % options.verbosity ==
1
) \
+if (options.verbosity != 0 && universe.steps % options.verbosity ==
0
) \
DisplayStatistics(); \
System_Compute(&universe);
DisplayStatistics(); \
System_Compute(&universe);
UCC
git Repository :: git.ucc.asn.au