diff --git a/saveubjson.m b/saveubjson.m index 5809078..6291072 100644 --- a/saveubjson.m +++ b/saveubjson.m @@ -680,7 +680,7 @@ if(isa(mat,'integer') || isinteger(mat) || (isfloat(mat) && all(mod(mat(:),1) == 0))) if(~any(mat<0)) - if(max(mat(:))<=2^8) + if(max(mat(:))<2^8) type=Imarker(1); end end