Skip to content

Commit

Permalink
[修改]rt_ai_mpython.c63行错误的条件判断,将重复的info.input_n改为output_n
Browse files Browse the repository at this point in the history
  • Loading branch information
AyanMeow authored Apr 24, 2023
1 parent f9b58e8 commit 5c817bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ STATIC mp_obj_t py_rt_ai_init(size_t n_args, const mp_obj_t *pos_args, mp_map_t
if(stat){
mp_raise_OSError(stat);
}
if(!handle->info.input_n && !handle->info.input_n){
if(!handle->info.input_n && !handle->info.output_n){
handle->info.input_n = inputs_size(handle); __debug(handle->info.input_n);
handle->info.output_n = outputs_size(handle); __debug(handle->info.output_n);

Expand Down

0 comments on commit 5c817bd

Please sign in to comment.