Ignore:
Timestamp:
07/02/19 14:06:51 (5 years ago)
Author:
dubos
Message:

devel/Python : fixed info for Numba

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/dynamico/dev/numba.py

    r805 r931  
    33 
    44import numpy as np 
    5 from numba import int32, float64 
    65import numba 
     6from numba import int32, int64, float64 
    77 
    88class NumbaData(object): 
     
    2020            def __init__(self): pass 
    2121        data=JitClass() 
    22         for name,thetype in spec: setattr(data, name, getattr(self,name)) 
     22        for name,thetype in spec:  
     23            print( 'Copying to %s.%s : '%(self.__class__.__name__, name), type(getattr(self,name))) 
     24            setattr(data, name, getattr(self,name)) 
    2325        return data 
    2426 
Note: See TracChangeset for help on using the changeset viewer.