I am trying to optimize my Julia code by making it type-stable. Hence, I tried to declare the variable types in the function headers. But one of the variables has a type of