[Matlab] Check for sparse arrays in the Solution 'set' function
Resolves Issue 140.
This commit is contained in:
parent
120c6e742c
commit
7deb45a840
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ nq = 0;
|
|||
while length(property_argin) >= 2,
|
||||
prop = property_argin{1};
|
||||
val = property_argin{2};
|
||||
if issparse(val)
|
||||
val = full(val);
|
||||
end
|
||||
property_argin = property_argin(3:end);
|
||||
switch prop
|
||||
case 'Temperature'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue