X-Git-Url: https://git.cworth.org/git?p=akamaru;a=blobdiff_plain;f=akamaru.c;h=1d94281b269fc936dbeaa830ae44ab4e6e5fbcd1;hp=8a9e587b40e66da2259011549be4fd2e97820e14;hb=6923ae2757901728f2bc4ef2162ca5d14ecfbd14;hpb=97642dcac23601e6a30336706a2e47c399f3793c diff --git a/akamaru.c b/akamaru.c index 8a9e587..1d94281 100644 --- a/akamaru.c +++ b/akamaru.c @@ -12,13 +12,10 @@ * corrections at the end instead of meaning as it goes. */ -#include -#include -#include -#include +#include #include #include -#include +#include #include #include "akamaru.h" @@ -157,7 +154,7 @@ model_accumulate_forces (Model *model) model->objects[i].force.x * model->objects[i].force.x + model->objects[i].force.y * model->objects[i].force.y; - if (f > 1000000) + if (f > 100000000) abort(); } }