Skip to content

Commit bcc2754

Browse files
committed
cleanup types
1 parent 6e1242d commit bcc2754

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

quantlib/_time_grid.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
include 'types.pxi'
1+
from quantlib.types cimport Size, Time
22
from libcpp.vector cimport vector
33

4-
cdef extern from 'ql/timegrid.hpp' namespace 'QuantLib':
4+
cdef extern from 'ql/timegrid.hpp' namespace 'QuantLib' nogil:
55
cdef cppclass TimeGrid:
66
TimeGrid()
77
TimeGrid(Time end, Size steps)

quantlib/math/_array.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
FOR A PARTICULAR PURPOSE. See the license for more details.
88
"""
99

10-
include '../types.pxi'
10+
from quantlib.types cimport Real, Size
1111

1212
cdef extern from 'ql/math/array.hpp' namespace 'QuantLib':
1313
cdef cppclass Array:

quantlib/math/randomnumbers/_inverse_cumulative_rsg.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../../types.pxi'
1+
from quantlib.types cimport Real, Size
22
from quantlib.methods.montecarlo._sample cimport Sample
33
from libcpp.vector cimport vector
44

quantlib/methods/montecarlo/_sample.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../../types.pxi'
1+
from quantlib.types cimport Real
22
cdef extern from 'ql/methods/montecarlo/sample.hpp' namespace 'QuantLib' nogil:
33
cdef cppclass Sample[T]:
44
T value

quantlib/time_grid.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include 'types.pxi'
1+
from quantlib.types cimport Size, Time
22
from libcpp.vector cimport vector
33
from . cimport _time_grid as _tg
44

0 commit comments

Comments
 (0)