-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix instantiation of G3Timestreams from iterables.
Under certain circumstances that I have not quite tracked down, Boost's type inference for the stub push_back() failed, resulting in data corruption. Instead, use a type it is designed to support (std::vector<double>) and retire the stub push_back() hack. This incurs a memcpy() but the overhead is tiny given that this is only called in circumstances that involve a Python loop anyway. Closes #93.
- Loading branch information
1 parent
c45570b
commit 96ee415
Showing
2 changed files
with
7 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters