Changeset 71c5f4d in sasmodels for sasmodels/autoc.py


Ignore:
Timestamp:
Dec 11, 2017 5:35:15 PM (6 years ago)
Author:
Omer Eisenberg <omereis@…>
Children:
e2719fc
Parents:
7f79cba
Message:

included constants in C. Fixed bug in C for loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/autoc.py

    r7a40b08 r71c5f4d  
    1010import numpy as np 
    1111 
    12 from . import codegen 
     12from . import py2c 
    1313from . import special 
    1414 
     
    129129 
    130130    # translate source 
    131     functions = codegen.translate( 
     131    functions = py2c.translate( 
    132132        [code[name] for name in ordered_dag(depends) if name in code], 
    133133        constants) 
     
    136136    print("\n".join(snippets)) 
    137137    #return 
    138     raise RuntimeError("not yet converted...") 
     138#    raise RuntimeError("not yet converted...") 
    139139 
    140140    # update model info 
Note: See TracChangeset for help on using the changeset viewer.