Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ValueError("Time stepsT must match sampling time" #332

Closed
Assignees
murrayrm
Labels
Milestone
@bj2sn

Description

@bj2sn

Got this error when using timeresp.py. Checked the source code, I think the problem is at line 337-338:
if dt < sys.dt:
raise ValueError("Time stepsT must match sampling time")

It will be better to use the following, since float rounding error can be smaller or larger:

if abs(dt-sys.dt) > 1e-5:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp