ex15 var scope in ComputeLRMomenta
The scope of variables:
real invdt1, invdt2, invdt3, invdt4, dt;
and invdr5
should be limited (and probably renamed)
They should probably be declared when their are first used.
The scope of variables:
real invdt1, invdt2, invdt3, invdt4, dt;
and invdr5
should be limited (and probably renamed)
They should probably be declared when their are first used.