File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -311,14 +311,9 @@ cpdef vml_clear_err_status():
311
311
cdef inline __mkl_str_to_int(variable, possible_variables_dict):
312
312
assert (variable is not None )
313
313
assert (possible_variables_dict is not None )
314
+ assert (variable in possible_variables_dict.keys()), ' Variable: <' + str (variable) + ' > not in ' + str (possible_variables_dict)
314
315
315
- variable_type = type (variable)
316
-
317
- if variable_type is str :
318
- assert (variable in possible_variables_dict.keys()), ' Variable: <' + str (variable) + ' > not in ' + str (possible_variables_dict)
319
- mkl_variable = possible_variables_dict[variable]
320
-
321
- return mkl_variable
316
+ return possible_variables_dict[variable]
322
317
323
318
324
319
cdef inline __mkl_int_to_str(mkl_int_variable, possible_variables_dict):
You can’t perform that action at this time.
0 commit comments