Changeset a738209 in sasmodels for sasmodels/generate.py


Ignore:
Timestamp:
Jul 15, 2016 9:33:33 AM (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:
def2c1b
Parents:
98ba1fc
Message:

simplify kernels by remove coordination parameter logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r56b2687 ra738209  
    451451 
    452452 
    453 _IQXY_PATTERN = re.compile("^((inline|static) )? *(double )? *Iqxy *([(]|$)", 
     453# type in IQXY pattern could be single, float, double, long double, ... 
     454_IQXY_PATTERN = re.compile("^((inline|static) )? *([a-z ]+ )? *Iqxy *([(]|$)", 
    454455                           flags=re.MULTILINE) 
    455456def _have_Iqxy(sources): 
     
    469470    line instead. 
    470471    """ 
    471     for code, path in sources: 
     472    for path, code in sources: 
    472473        if _IQXY_PATTERN.search(code): 
    473474            return True 
Note: See TracChangeset for help on using the changeset viewer.