Changeset 28da77d in sasmodels


Ignore:
Timestamp:
Mar 16, 2016 9:25:41 AM (9 years ago)
Author:
ajj
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
8e45182
Parents:
b8e5e21
Message:

Fixing sasview model to properly release the q value vector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r17bbadd r28da77d  
    287287        pd_pars = [self._get_weights(p) for p in fn.pd_pars] 
    288288        result = fn(pars, pd_pars, self.cutoff) 
    289         fn.input.release() 
     289        fn.q_input.release() 
    290290        fn.release() 
    291291        return result 
     
    373373            self.params[par], limits[par], par in relative) 
    374374        return value, weight / np.sum(weight) 
    375  
Note: See TracChangeset for help on using the changeset viewer.