diff options
| author | a1xd <[email protected]> | 2021-04-08 21:48:17 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-04-08 21:48:17 -0400 |
| commit | 74ffcb8553795f4b50e544a1b2a0e53aec32a860 (patch) | |
| tree | 5f19bfbffb16a066c2587daee05216ec4c3f072a /wrapper | |
| parent | fix conversions in arbitrary constructor (diff) | |
| download | rawaccel-74ffcb8553795f4b50e544a1b2a0e53aec32a860.tar.xz rawaccel-74ffcb8553795f4b50e544a1b2a0e53aec32a860.zip | |
make sizeof arbitrary close to others
refactor constructor/fix conversions
Diffstat (limited to 'wrapper')
| -rw-r--r-- | wrapper/wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp index 6376100..f7da5d4 100644 --- a/wrapper/wrapper.cpp +++ b/wrapper/wrapper.cpp @@ -210,7 +210,7 @@ public ref struct SpacedLut abstract : public LutBase void SetDataBase(ra::accel_union& accel) { - if (size_t(data->LongLength) > ra::LUT_CAPACITY) { + if (size_t(data->LongLength) > ra::SPACED_LUT_CAPACITY) { throw gcnew InteropException("data is too large"); } } |