inducer / inducer/cgen

Wrong result for nested type

Open
#21 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
179
Forks
34
Avg merge
14h 1m
Merged PRs (30d)
1

Description

Both
```python
Pointer(ArrayOf(Pointer(POD(np.float32, "xxx")), 2)),
Pointer(Pointer(ArrayOf(POD(np.float32, "yyy"), 2))),
```
result in
```c
float **xxx[2];
float **yyy[2];
```
The expected result is
```c
float *(*xxx)[2];
float (**xxx)[2];
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.