[Solved] it is not compiling. I am calling a function which is called by reference but there is an error which is can not convert double * to double

[ad_1]

it is not compiling. I am calling a function which is called by reference but there is an error which is can not convert double * to double

[ad_2]

solved it is not compiling. I am calling a function which is called by reference but there is an error which is can not convert double * to double