- Timestamp:
- Apr 3, 2021, 2:18:12 PM (5 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 3 edited
-
math/psMinimizePolyFit.c (modified) (2 diffs)
-
sys/psThread.c (modified) (1 diff)
-
types/psMetadata.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizePolyFit.c
r38062 r41532 19 19 * XXX: For clip-fit functions, what should we do if the mask is NULL? 20 20 * 21 * XXX: the sums are built for 2*(order + 1) elements, but it should be 2*order + 1 21 22 */ 22 23 … … 2250 2251 } 2251 2252 2252 if (!psVectorStats (stats, resid, NULL, mask, maskValue)) {2253 if (!psVectorStats(stats, resid, NULL, mask, maskValue)) { 2253 2254 psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector. Returning NULL.\n"); 2254 2255 psFree(resid); -
trunk/psLib/src/sys/psThread.c
r37050 r41532 296 296 for (int i = 0; i < nThreads; i++) { 297 297 psThread *thread = pool->data[i] = psThreadAlloc(); // Thread for pool 298 // XXX these threads are not destroyed, creating a minor leak 298 299 if (pthread_create(&threads[i], NULL, psThreadLauncher, thread)) { 299 300 psAbort("Unable to create thread"); -
trunk/psLib/src/types/psMetadata.c
r41415 r41532 1193 1193 int regRtn = regcomp(newIter->regex, regex, 0); 1194 1194 if (regRtn != 0) { 1195 char errMsg[256]; 1195 char errMsg[256]; // fixed buffer length should match in call below 1196 1196 regerror(regRtn, newIter->regex, errMsg, 256); 1197 1197 psError(PS_ERR_BAD_PARAMETER_VALUE, true,
Note:
See TracChangeset
for help on using the changeset viewer.
