Error in sqme.c while compiling

Asked by SKarmakar

Though I have checked my model by Edit Model -> CHECK MODEL, and it has shown no error, when I try to compile I get this error message:
"
sqme.c: In function ‘calcFunc_stat’:
sqme.c:27:4: error: too few arguments to function ‘pow’
    V[28]=-pow(4*V[11]*V[2])*(1+13*pow(V[4],6)*pow(V[1],-6)/(16800.)+pow(V[4],4)*pow(V[1],-4)/(168.)+7*pow(V[4],2)*pow(V[1],-2)/(120.))*pow(V[11],-2)*pow(V[20],-1)/(12.);
    ^
 problem in compilation!
/home/inte/RESEARCH15/SOFTWAREs/calchep_3.6.25/sbin/newProcess: 123: exit: Illegal number: -1
 Can not compile h->2*x
"
Though the process I am interested in, is compiled anyway.

Question information

Language:
English Edit question
Status:
Answered
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

Surely, function
       double pow(double x, double y);
has 2 arguments. You use it with one.
       V[28]=-pow(4*V[11]*V[2])*....
Thus C-compiler writes you an error message.
Best
     Alexander Pukhov

On 09/15/2016 08:57 AM, SKarmakar wrote:
> New question #395831 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/395831
>
> Though I have checked my model by Edit Model -> CHECK MODEL, and it has shown no error, when I try to compile I get this error message:
> "
> sqme.c: In function ‘calcFunc_stat’:
> sqme.c:27:4: error: too few arguments to function ‘pow’
> V[28]=-pow(4*V[11]*V[2])*(1+13*pow(V[4],6)*pow(V[1],-6)/(16800.)+pow(V[4],4)*pow(V[1],-4)/(168.)+7*pow(V[4],2)*pow(V[1],-2)/(120.))*pow(V[11],-2)*pow(V[20],-1)/(12.);
> ^
> problem in compilation!
> /home/inte/RESEARCH15/SOFTWAREs/calchep_3.6.25/sbin/newProcess: 123: exit: Illegal number: -1
> Can not compile h->2*x
> "
> Though the process I am interested in, is compiled anyway.
>

Can you help with this problem?

Provide an answer of your own, or ask SKarmakar for more information if necessary.

To post a message you must log in.