-
Notifications
You must be signed in to change notification settings - Fork 353
Open
Description
Bug category
- bug - compilation error
- bug - compilation warning
- bug - runtime error
- bug - runtime warning
- bug - logic error
Describe the bug
Steps to Reproduce
Copied an example from your website:
#include <cmath>
#include <matplot/matplot.h>
int main() {
using namespace matplot;
std::vector<double> x = linspace(0, 2 * pi);
std::vector<double> y1 = transform(x, [](auto x) { return sin(x); });
std::vector<double> y2 = transform(x, [](auto x) { return sin(x - 0.25); });
std::vector<double> y3 = transform(x, [](auto x) { return sin(x - 0.5); });
plot(x, y1, x, y2, "--", x, y3, ":");
show();
return 0;
}
Output
std::runtime_error exception, read access violation
Microsoft C++ exception: std::runtime_error at memory location 0x000000947E6FF060.
When I continue to debug I see:
this was 0xFFFFFFFFFFFFFFF7.```
</details>
**Platform**
<!-- Mark your platform with an x-->
- [ ] *cross-platform issue - linux*
- [x] *cross-platform issue - windows*
- [ ] *cross-platform issue - macos*
**Environment Details:**
- OS: Windows 10 pro
- OS Version:
- Compiler:
- Compiler version:
**Additional context**
<!--optional-->
Metadata
Metadata
Assignees
Labels
No labels