IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2022, 5:01:57 PM (4 years ago)
Author:
eugene
Message:

fix string-vector assignment; fix while loop logic involving vector or matrix sizes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/Ohana/src/opihi/lib.shell/evaluate_stack.c

    r42080 r42165  
    6767    if (stack[0].type == ST_VECTOR) {
    6868      /* need to make a copy so we set output value? */
    69       V_unary (&tmp_stack, &stack[0], "=");
     69      if (stack->vector->type == OPIHI_STR) {
     70        L_unary (&tmp_stack, &stack[0], "=");
     71      } else {
     72        V_unary (&tmp_stack, &stack[0], "=");
     73      }
    7074      move_stack (&stack[0], &tmp_stack);
    7175      return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.