[Matlab] Check for sparse arrays in the Solution 'set' function

Resolves Issue 140.
This commit is contained in:
Bryan W. Weber 2014-01-06 18:46:43 +00:00
parent 120c6e742c
commit 7deb45a840

View file

@ -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'