Changeset c1114bf in sasmodels
- Timestamp:
- Jun 7, 2017 11:17:52 AM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- c11d09f, 3a45c2c, c935936
- Parents:
- 487e695
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kernelcl.py
rd2b939c rc1114bf 578 578 # Free buffers 579 579 for v in (details_b, values_b): 580 if v is not None: v.release() 580 if v is not None: 581 v.release() 581 582 582 583 pd_norm = self.result[self.q_input.nq] 583 scale = values[0]/(pd_norm if pd_norm !=0.0 else 1.0)584 scale = values[0]/(pd_norm if pd_norm != 0.0 else 1.0) 584 585 background = values[1] 585 586 #print("scale",scale,values[0],self.result[self.q_input.nq],background)
Note: See TracChangeset
for help on using the changeset viewer.