'automatic broadcasting operation applied' on equally sized matrices

I'm writing a homework and I run into this error using Octave. It does not affect functionality of my solution, however I'm curious why this warning is being emitted. % X is column vector, p is max