IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41532 for trunk/psLib


Ignore:
Timestamp:
Apr 3, 2021, 2:18:12 PM (5 years ago)
Author:
eugene
Message:

minor comment changes

Location:
trunk/psLib/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizePolyFit.c

    r38062 r41532  
    1919 *  XXX: For clip-fit functions, what should we do if the mask is NULL?
    2020 *
     21 *  XXX: the sums are built for 2*(order + 1) elements, but it should be 2*order + 1
    2122 */
    2223
     
    22502251        }
    22512252
    2252         if (!psVectorStats (stats, resid, NULL, mask, maskValue)) {
     2253        if (!psVectorStats(stats, resid, NULL, mask, maskValue)) {
    22532254            psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector.  Returning NULL.\n");
    22542255            psFree(resid);
  • trunk/psLib/src/sys/psThread.c

    r37050 r41532  
    296296    for (int i = 0; i < nThreads; i++) {
    297297        psThread *thread = pool->data[i] = psThreadAlloc(); // Thread for pool
     298        // XXX these threads are not destroyed, creating a minor leak
    298299        if (pthread_create(&threads[i], NULL, psThreadLauncher, thread)) {
    299300            psAbort("Unable to create thread");
  • trunk/psLib/src/types/psMetadata.c

    r41415 r41532  
    11931193        int regRtn = regcomp(newIter->regex, regex, 0);
    11941194        if (regRtn != 0) {
    1195             char errMsg[256];
     1195            char errMsg[256]; // fixed buffer length should match in call below
    11961196            regerror(regRtn, newIter->regex, errMsg, 256);
    11971197            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
Note: See TracChangeset for help on using the changeset viewer.