Commit c46a105
vpr: utils: fix segfault in find_most_common_block_type
Recent logical/physical tiles split introduced the regression. If
there is no max_type found we should not call the logical_block_type
function, but rather return the nullptr maidenly (like we did before
the split).
Signed-off-by: Karol Gugala <[email protected]>1 parent 771be2c commit c46a105
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| 782 | + | |
782 | 783 | | |
783 | 784 | | |
784 | 785 | | |
| |||
0 commit comments