Skip to content

Commit ea2de82

Browse files
committed
Update the kinds for complex type
1 parent b518565 commit ea2de82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libasr/asr_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ static inline std::string type_to_str_python(const ASR::ttype_t *t)
182182
case ASR::ttypeType::Complex: {
183183
ASR::Complex_t *c = (ASR::Complex_t*)t;
184184
switch (c->m_kind) {
185+
case 4: { return "c32"; }
185186
case 8: { return "c64"; }
186-
case 16: { return "c128"; }
187187
default: { throw LFortranException("Complex kind not supported"); }
188188
}
189189
}

0 commit comments

Comments
 (0)