Commit c280902d authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Remove excess max_attempts argument from random_compact() call

parent 1c09f033
Loading
Loading
Loading
Loading
+1 −1
Changes for src/scripts/model_maker.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ def load_model(model_file):
                except KeyError:
                    rnd_attempts = 100
                if (rnd_engine == "COMPACT"):
                    check = random_compact(sconf, gconf, rnd_seed, max_rad, rnd_attempts)
                    check = random_compact(sconf, gconf, rnd_seed, max_rad)
                    if (check == -1):
                        print("ERROR: compact random generator works only when all sphere types have the same radius.")
                        return (None, None)