Owl.stat failed

I passed the brightness test and all statistics tests except owl and I don’t really understand why. Since the only difference between owl and the other statistics files is in the size I thought maybe that’s the problem but int should still be enough.

hi @mara00008, in most cases it is sufficient to add some printf statements to get a deeper understanding of what is happening exactly in your function.
It’s very common, that your program prints by coincidence the right result for one image correctly, but totally wrong for another image.

Hope that helps :smiley:

1 Like

Additionally, more unit tests and simple image tests that you can check by hand might be helpful.

You can also use the provided launch tasks for debugging and stepping through the program.

2 Likes

Thank you for your help :slight_smile: