Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problems with assert in function definition #109
I would like to add some assertions to a function that returns "array[int,int] of int" (in reality, an adjacency matrix).
which does not work and returns:
However, when doing the same with just an int, everything's fine:
Is there a workaround?
For anyone running into a similar issue, here is a (not really pretty) workaround that gets the job done: