File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -989,7 +989,7 @@ function demo() {
989989  var  getKernel  =  function ( )  { 
990990    model . setOutput ( "" ,  "" ,  "" ,  "" ) ; 
991991
992-     var  command  =  model . input . expression . replace ( /   / g,  "" ) ; 
992+     var  command  =  "\""   +   model . input . expression . replace ( /   / g,  "" )   +   "\"" ; 
993993
994994    var  formats  =  "" ; 
995995    for  ( t  in  model . input . tensorOrders )  { 
@@ -1022,7 +1022,7 @@ function demo() {
10221022      var  scheduleCommand  =  model . schedule [ i ] [ "command" ] ; 
10231023      if  ( ! scheduleCommand )  {  continue ;  } 
10241024
1025-       command  +=  " -s="  +  scheduleCommand  +  "(" ; 
1025+       command  +=  " -s=\" "  +  scheduleCommand  +  "(" ; 
10261026      schedule  +=  ( ( schedule  ===  "" )  ? ""  : ";" )  +  scheduleCommand  +  ":" ; 
10271027
10281028      for  ( var  param  of  model . schedule [ i ] [ "parameters" ] )  { 
@@ -1038,7 +1038,7 @@ function demo() {
10381038      } 
10391039
10401040      command  =  command . substring ( 0 ,  command . length  -  1 ) ; 
1041-       command  +=  ")" ; 
1041+       command  +=  ")\" " ; 
10421042      schedule  =  schedule . substring ( 0 ,  schedule . length  -  1 ) ; 
10431043    } 
10441044
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments