Skip to content

Commit

Permalink
Issue 10 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkacigler committed Oct 26, 2013
1 parent 720bde9 commit e9a075c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WriteYaml.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
function result = scan_numeric(r)
if isempty(r)
result = java.util.ArrayList();
elseif(isinteger(r))
result = java.lang.Integer(r);
else
result = java.lang.Double(r);
end
Expand Down

0 comments on commit e9a075c

Please sign in to comment.