File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -989,7 +989,7 @@ function demo() {
989
989
var getKernel = function ( ) {
990
990
model . setOutput ( "" , "" , "" , "" ) ;
991
991
992
- var command = model . input . expression . replace ( / / g, "" ) ;
992
+ var command = "\"" + model . input . expression . replace ( / / g, "" ) + "\"" ;
993
993
994
994
var formats = "" ;
995
995
for ( t in model . input . tensorOrders ) {
@@ -1022,7 +1022,7 @@ function demo() {
1022
1022
var scheduleCommand = model . schedule [ i ] [ "command" ] ;
1023
1023
if ( ! scheduleCommand ) { continue ; }
1024
1024
1025
- command += " -s=" + scheduleCommand + "(" ;
1025
+ command += " -s=\" " + scheduleCommand + "(" ;
1026
1026
schedule += ( ( schedule === "" ) ? "" : ";" ) + scheduleCommand + ":" ;
1027
1027
1028
1028
for ( var param of model . schedule [ i ] [ "parameters" ] ) {
@@ -1038,7 +1038,7 @@ function demo() {
1038
1038
}
1039
1039
1040
1040
command = command . substring ( 0 , command . length - 1 ) ;
1041
- command += ")" ;
1041
+ command += ")\" " ;
1042
1042
schedule = schedule . substring ( 0 , schedule . length - 1 ) ;
1043
1043
}
1044
1044
You can’t perform that action at this time.
0 commit comments