Skip to content

Commit

Permalink
Revert "[PythonKit] Updated code"
Browse files Browse the repository at this point in the history
This reverts commit e7ff50f.
  • Loading branch information
pvieito committed Nov 7, 2023
1 parent e7ff50f commit 41dd1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PythonKit/NumpyConversion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ where Element : NumpyScalarCompatible {
self.init(repeating: dummyPointer.move(), count: scalarCount)
dummyPointer.deallocate()
withUnsafeMutableBufferPointer { buffPtr in
buffPtr.baseAddress!.update(from: ptr, count: scalarCount)
buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
}
}
}
Expand Down

0 comments on commit 41dd1e7

Please sign in to comment.