Skip to content

average() indentation error #1048

@painter1

Description

@painter1

In cdutil/times.py, the function average(), the block beginning "if len(sub)>1:" is indented too far. The effect is to repeat a calculation more than needed. This has major performance implications.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions