- Timestamp:
- Feb 14, 2011, 1:05:28 PM (15 years ago)
- Location:
- branches/czw_branch/20101203
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
psModules/src/objects (modified) (1 prop)
-
psModules/src/objects/pmModel.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20101203
- Property svn:mergeinfo changed
-
branches/czw_branch/20101203/psModules/src/objects
- Property svn:mergeinfo deleted
-
branches/czw_branch/20101203/psModules/src/objects/pmModel.c
r29004 r30631 70 70 tmp->fitRadius = 0; 71 71 tmp->flags = PM_MODEL_STATUS_NONE; 72 tmp->residuals = NULL; // XXX should the model own this memory? 72 tmp->residuals = NULL; // do not free: the model does not own this memory 73 tmp->isPCM = false; 73 74 74 75 psS32 Nparams = pmModelClassParameterCount(type); … … 108 109 pmModel *pmModelCopy (pmModel *model) 109 110 { 110 PS_ASSERT_PTR_NON_NULL(model, NULL); 111 111 if (model == NULL) { 112 return NULL; 113 } 112 114 pmModel *new = pmModelAlloc (model->type); 113 115
Note:
See TracChangeset
for help on using the changeset viewer.
