Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove minivect submodule, fix C++ type cast

  • Loading branch information...
commit 6640e9900af26213ed23b6cae0a44b01e770d834 1 parent bdaeea5
Mark Florisson authored
3  .gitmodules
... ... @@ -1,3 +0,0 @@
1   -[submodule "Cython/minivect"]
2   - path = Cython/minivect
3   - url = git@github.com:markflorisson88/minivect.git
7 Cython/Compiler/Vector.py
@@ -1000,7 +1000,12 @@ def put_specialized_call(self, code, specializer, specialized_function,
1000 1000 for operand in [self] + self.operands:
1001 1001 result = operand.result()
1002 1002 if operand.type.is_memoryviewslice:
1003   - dtype_pointer_decl = operand.type.dtype.declaration_code("")
  1003 + dtype = operand.type.dtype
  1004 + if dtype.is_typedef and not dtype.typedef_is_external:
  1005 + # We mapped to the resolved version of the typedef
  1006 + dtype = dtype.resolve()
  1007 +
  1008 + dtype_pointer_decl = dtype.declaration_code("")
1004 1009 args.append('(%s *) %s.data' % (dtype_pointer_decl, result))
1005 1010 if not specializer.is_contig_specializer:
1006 1011 offset = max(operand.type.ndim - self.function.ndim, 0)
2  Cython/minivect

0 comments on commit 6640e99

Please sign in to comment.
Something went wrong with that request. Please try again.