add some functions to convert input char to dimension and tensor

This commit is contained in:
2024-02-25 00:53:57 +01:00
parent ef107c11db
commit c1409546ef
18 changed files with 688 additions and 128 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ char * number_call_translate(long nb){
if(nb>1) sprintf(ret," be called %ld times",nb);
else if(nb == 1) sprintf(ret," be called once");
else if(nb == 0 ) sprintf(ret," not to be executed");
else if(nb==INFINITY) sprintf(ret," be called forever");
else if(nb==ININITY_REPS) sprintf(ret," be called forever");
else if(nb==INITSTATE) sprintf(ret," not expected");
else sprintf(ret," nothing! it's negative:%ld", nb);