Skip to content

Probability Problem Infinite Loop #7

Description

@Sungonogi

I noticed that every 15th or so time the program is stuck in an infinite loop and just shows the loading screen forever
to replicate just remove all other problems apart from probability and refresh the page a couple of times)

I narrowed it down to the probability problem and the while(...) in the second picture

Here it prints out the "stuck L2" 400 000 times so it is clearly stuck indefinitely
Image

This is where I added the println
Image

There are so many conditions and it is not my task so I didn't really try to find the cause myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions