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 2aafd93 commit 871b67fCopy full SHA for 871b67f
src/utils/arguments.h
@@ -70,13 +70,13 @@ class extractor : public argument_helper<const mxArray> {
70
return the_string;
71
}
72
73
- template<typename T>
74
- T num(size_t pos) const {
75
- nix::DataType dtype = nix::to_data_type<T>::value;
76
- check_arg_type(pos, dtype);
+ template<typename T>
+ T num(size_t pos) const {
+ nix::DataType dtype = nix::to_data_type<T>::value;
+ check_arg_type(pos, dtype);
77
78
return mx_array_to_num<T>(array[pos]);
79
- }
+ }
80
81
template<typename T>
82
std::vector<T> vec(size_t pos) const {
0 commit comments