mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
Minor fix, thanks to Jens Maurer.
[SVN r10377]
This commit is contained in:
@@ -49,7 +49,7 @@ namespace { // Avoid cluttering the global namespace.
|
||||
void delitem(std::vector<double>& vd, std::size_t key) {
|
||||
if (key >= vd.size()) raise_vector_IndexError();
|
||||
std::vector<double>::iterator vditer = vd.begin();
|
||||
vd.erase(&vditer[key]);
|
||||
vd.erase(vditer + key);
|
||||
}
|
||||
|
||||
// Convert vector_double to a regular Python tuple.
|
||||
|
||||
Reference in New Issue
Block a user