1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-24 23:21:29 +00:00

Make teensy compile

This commit is contained in:
2021-11-04 19:46:10 +00:00
parent ce4cbff8bd
commit b9ccfd110e
3 changed files with 127 additions and 7 deletions

View File

@@ -4,7 +4,11 @@
#define OUTVECTOR_H
struct outVector {
#if defined(NATIVE) || defined(_WIN32)
int length = 100000; // current sim runs ~5000 steps, x2 just in case
#elif defined(TEENSY)
int length = 1000; // current sim runs ~5000 steps, x2 just in case
#endif
std::vector<double> x = std::vector<double>(length, 0.0);
std::vector<double> y = std::vector<double>(length, 0.0);