X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=sky.py;h=1768a81cd981323dd85d6200c34c704654e59fd2;hb=4a63b2b44bc08cb04b236b35a3d36aa242912d48;hp=ed440d37a37af02b6b2a19cb6ce20945d3d59afe;hpb=30c76210e3ed2704b2a059208f385cb623c1486d;p=culture.git diff --git a/sky.py b/sky.py index ed440d3..1768a81 100755 --- a/sky.py +++ b/sky.py @@ -50,7 +50,11 @@ class Sky(problem.Problem): speed=2, nb_iterations=2, avoid_collision=True, + max_nb_cached_chunks=None, + chunk_size=None, + nb_threads=-1, ): + super().__init__(max_nb_cached_chunks, chunk_size, nb_threads) self.height = height self.width = width self.nb_birds = nb_birds