mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 10:46:26 +00:00
fix error message syntax errors
This commit is contained in:
parent
53886fb54d
commit
5b63559312
@ -20,7 +20,7 @@ double eval(stack * stk, stack1 * no)
|
||||
{
|
||||
|
||||
stack1 nos = NULL;
|
||||
double x, y, z = 0.0;
|
||||
double x = 0.0, y = 0.0, z = 0.0;
|
||||
char ch;
|
||||
ldiv_t ldivt;
|
||||
while (!empty(*stk)) {
|
||||
|
@ -365,7 +365,7 @@ int MatLab4LocateParam( char *file_name , char *param_name , char *time_name ) {
|
||||
size = 1 ;
|
||||
break ;
|
||||
default :
|
||||
std::cerr << "Matlab4 "__FUNCTION__ << "ERROR: invalid matrix size" << std::endl;
|
||||
std::cerr << "Matlab4 " << __FUNCTION__ << "ERROR: invalid matrix size" << std::endl;
|
||||
size = -1;
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ static char *getCompositeSubReference(
|
||||
for (j = num_fixed_dims - 1; j >= 0; j--) {
|
||||
size *= A[i].index[j].size;
|
||||
if(!size) {
|
||||
std::cerr "Checkpoint Agent " << __FUNCTION__ << " ERROR: divide by zero during array indices calculation" << std::endl;
|
||||
std::cerr << "Checkpoint Agent " << __FUNCTION__ << " ERROR: divide by zero during array indices calculation" << std::endl;
|
||||
return NULL;
|
||||
}
|
||||
my_index[j] = (int) ((offset % size) / last_size);
|
||||
|
Loading…
Reference in New Issue
Block a user