Skip to content

Bug in smallest_diminesions_yet calculation? #11

@fdncred

Description

@fdncred

I believe this for loop code

for num_lines in (1 .. theoretical_max_num_lines).rev() {

should be inclusive

for num_lines in (1..=theoretical_max_num_lines).rev() {

I ran into this problem where the output should've been 2 rows but it would never output 2 rows. It would always fail and return the initialized value of None for smallest_dimensions_yet.

Please confirm.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions