In your macro “Energy” is declared a float:
float Energy; // EDIT:you may actually want to change double to float because that is usually the branch type
In your macro “Energy” is declared a float:
float Energy; // EDIT:you may actually want to change double to float because that is usually the branch type