File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 11package com .arrayfire ;
22
3- import android .util .Log ;
4-
53public class Array implements AutoCloseable {
64
75 static {
@@ -100,7 +98,6 @@ public Array(int[] dims, float[] elems) throws Exception {
10098 if ( elems .length > total_size || elems .length < total_size ) {
10199 throw new Exception ("Mismatching dims and array size" );
102100 }
103- Log .i ("Array" , "============ Array class =============== " );
104101 this .ref = createArrayElems (dims ,elems );
105102 }
106103
Original file line number Diff line number Diff line change 11package com .arrayfire ;
22
3- import android .util .Log ;
4-
53public class Util {
64
75 public static String toString (Array a , String delim ) {
@@ -14,8 +12,7 @@ public static String toString(Array a, String delim) {
1412 }
1513 ret_txt += Float .toString ( fary [fary .length -1 ] );
1614 } catch (Exception e ) {
17- Log .i ("Util.toString" ,"Array to String conversion failed" );
18- ret_txt ="" ;
15+ ret_txt ="Failed to convert to string" ;
1916 }
2017 return ret_txt ;
2118 }
You can’t perform that action at this time.
0 commit comments