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 41789c0 commit d70d8b0Copy full SHA for d70d8b0
CHANGES.md
@@ -5,6 +5,10 @@ Change history for MP-Opt-Model
5
since version 5.0
6
-----------------
7
8
+#### 10/3/25
9
+ - Avoid error displaying `mp.opt_model` object when variable was added
10
+ with a sparse dimension argument.
11
+
12
#### 9/25/25
13
- Improve reliability of detection of CLP MEX file.
14
lib/+mp/set_manager.m
@@ -273,10 +273,10 @@
273
274
%% handle input args
275
if iscell(idx)
276
- N = varargin{1};
+ N = full(varargin{1});
277
args = varargin(2:end);
278
else
279
- N = idx;
+ N = full(idx);
280
idx = {};
281
args = varargin;
282
end
0 commit comments