We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8b679 commit ed60e72Copy full SHA for ed60e72
mex/gemmi.cpp
@@ -162,7 +162,7 @@ class MexFunction : public matlab::mex::Function {
162
}
163
const matlab::data::TypedArray<char16_t> data = inStruct[0][field];
164
if (std::string(field) == "split") {
165
- switch (data[0]) {
+ switch ((char)data[0]) {
166
case 'n':
167
options->splitType = splittingStrategy::roundToNearest;
168
break;
@@ -175,7 +175,7 @@ class MexFunction : public matlab::mex::Function {
175
176
177
} else if (std::string(field) == "acc") {
178
179
case 'f':
180
options->accType = accumulationStrategy::floatingPoint;
181
0 commit comments