Sable / AspectMatlab

0 stars 1 forks source link

The sparsity.m aspect produces an error when the following weaved program is executed #2

Open elavoie opened 8 years ago

elavoie commented 8 years ago

Running the weaved aspect on Matlab 2015b produces the following error:

At least one index is required.

Error in sparsity/sparsity_set (line 117)
      t(args{(1 : numel(args))}) = newVal;

Error in myprogram>sum (line 33)
  AM_GLOBAL.sparsity.sparsity_set(AM_CVar_5, x, 'x', {});

Error in myprogram (line 9)
  AM_CVar_0 = sum(10, 12);
elavoie commented 8 years ago

Here is a zip archive of the program, the sparsity aspect, the amc.jar file used and the produced weaved program: bug.zip