Skip to content

Commit

Permalink
C_CPP: Fix namespace for get_numpy_c_obj_type_conv_func_from_ttype_t()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Jun 23, 2023
1 parent 153a751 commit a37e519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libasr/codegen/asr_to_c_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ R"(#include <stdio.h>
ASR::is_a<ASR::Var_t>(*arr->m_dims[0].m_length)) {
// name() -> f64[n]: Extract `array_type` and `n`
std::string array_type
= CUtils::get_numpy_c_obj_type_conv_func_from_ttype_t(arr->m_type);
= BindPyUtils::get_numpy_c_obj_type_conv_func_from_ttype_t(arr->m_type);
std::string return_array_size = ASRUtils::EXPR2VAR(
arr->m_dims[0].m_length)->m_name;
fill_return_details += R"(
Expand Down

0 comments on commit a37e519

Please sign in to comment.