Skip to content
Snippets Groups Projects
Commit fa17b1ef authored by Alexander Ivanov's avatar Alexander Ivanov
Browse files

Fixed bad fucntion name abs()

git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2761 6dcd42c9-f523-4c6d-aada-af552506706e
parent 77873c99
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ sub frontEndCode {
$calcExp .= " \L$::xpartName[$i]_total_counter = 0;\n";
$calcExp .= " pLocalEpics->$::systemName\.$::xpartName[$i]\_RESET = 0;\n";
$calcExp .= "}\n";
$calcExp .= "else if (abs($::fromExp[0]) >= pLocalEpics->$::systemName\.$::xpartName[$i]\_TRIGGER) {\n";
$calcExp .= "else if (lfabs($::fromExp[0]) >= pLocalEpics->$::systemName\.$::xpartName[$i]\_TRIGGER) {\n";
$calcExp .= " \L$::xpartName[$i]_total_counter++;\n";
$calcExp .= " \L$::xpartName[$i]_total_counter%=100000000;\n";
$calcExp .= " \L$::xpartName[$i]_running_counter++;\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment