X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=course%2Fsemester2%2Fpprog%2Fassignment1%2Fsingle-thread%2Fnbody.h;h=4d53f9d07c62f7c8c44546a061814f1faba411f5;hb=46fe12165ce898eb47d2a2b9ce9945dbd65987a6;hp=a0415748087f88678912345c023ea00923774475;hpb=19d5190c55a836926f2bd646e043fcd6c61ab919;p=matches%2Fhonours.git diff --git a/course/semester2/pprog/assignment1/single-thread/nbody.h b/course/semester2/pprog/assignment1/single-thread/nbody.h index a0415748..4d53f9d0 100644 --- 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() \ -if (options.verbosity != 0 && universe.steps % options.verbosity == 1) \ +if (options.verbosity != 0 && universe.steps % options.verbosity == 0) \ DisplayStatistics(); \ System_Compute(&universe);