M_
is not global anymore, but it is a function input. So outside of the header, nothing changes. Of course, if M_
was used as a global variable in the function to be solved, then you need to adjust that function as well to accept M_
as an input.
1 Like