Changeset 445d1c0 in sasmodels for sasmodels/kernelcl.py


Ignore:
Timestamp:
Mar 21, 2016 2:08:33 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
88aa3ee
Parents:
a4e2ae5
Message:

restrict polydispersity checks in bumps to 1d parameters for 1d data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    rc072f83 r445d1c0  
    446446        q_input = GpuInput(q_vectors, dtype) 
    447447        self.dtype = dtype 
     448        self.dim = '2d' if q_input.is_2d else '1d' 
    448449        self.kernel = kernel 
    449450        self.info = model_info 
     
    452453        # plus three for the normalization values 
    453454        self.result = np.empty(q_input.nq+3, q_input.dtype) 
    454         #self.dim = '2d' if q_input.is_2d else '1d' 
    455455 
    456456        # Inputs and outputs for each kernel call 
Note: See TracChangeset for help on using the changeset viewer.