fix error message syntax errors

This commit is contained in:
Scott Fennell 2018-10-03 15:31:22 -05:00
parent 53886fb54d
commit 5b63559312
3 changed files with 3 additions and 3 deletions

View File

@ -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)) {

View File

@ -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;
}

View File

@ -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);