IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 1, 2022, 10:01:56 AM (3 years ago)
Author:
eugene
Message:

enable subset for string-type vectors; allow "set a = b" for string-type vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/stack_math.c

    r42080 r42311  
    16191619  OUT[0].vector = InitVector ();
    16201620  OUT[0].type = ST_VECTOR_TMP; /*** <<--- says this is a temporary matrix ***/
     1621
     1622  if (V1->vector->type == OPIHI_STR) {
     1623    ResetVector (OUT->vector, V1->vector->type, V1->vector->Nelements);
     1624    for (i = 0; i < V1->vector->Nelements; i++) {
     1625      OUT->vector->elements.Str[i] = strcreate (V1->vector->elements.Str[i]);
     1626    }
     1627    goto escape;
     1628  }
    16211629
    16221630# define V_FUNC(OP,FTYPE) {                                             \
Note: See TracChangeset for help on using the changeset viewer.