I agree with Caydenz. My program goes through 300-2000 tests and one constantly returns an error. It would be nice if I could at least see the received and expected value so I know where to start. I am using dynamic memory allocation and do not modify the input matrices. (Decision in C. I'm sorry for my english).
PS. The problem has been resolved. I advise you to use calloc instead of malloc.
the OP solved the kata, I opened another issue about the poor assertion messages
I agree with Caydenz. My program goes through 300-2000 tests and one constantly returns an error. It would be nice if I could at least see the received and expected value so I know where to start. I am using dynamic memory allocation and do not modify the input matrices. (Decision in C. I'm sorry for my english).
PS. The problem has been resolved. I advise you to use calloc instead of malloc.
Very interesting task :)