Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-copasi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COPASI
dune-copasi
Commits
b7c04d2a
Verified
Commit
b7c04d2a
authored
4 years ago
by
Liam Keegan
Browse files
Options
Downloads
Patches
Plain Diff
fix check that dt is not smaller than _min_step
parent
60248d60
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!25
Resolve "Add simple adaptive timestepping"
Pipeline
#29377
failed
4 years ago
Stage: build
Stage: unit_tests
Stage: system_tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/copasi/common/stepper.hh
+1
-1
1 addition, 1 deletion
dune/copasi/common/stepper.hh
with
1 addition
and
1 deletion
dune/copasi/common/stepper.hh
+
1
−
1
View file @
b7c04d2a
...
...
@@ -416,7 +416,7 @@ public:
logger
().
warn
(
"Reducing step size: {}s -> {}s"
_fmt
,
dt
,
dt
*
_decrease_factor
);
dt
=
dt
*
_decrease_factor
;
if
(
FloatCmp
::
lt
<
Time
>
(
_min_step
,
dt
))
if
(
FloatCmp
::
lt
<
Time
>
(
dt
,
_min_step
))
DUNE_THROW
(
MathError
,
"Time step '"
<<
dt
<<
"' is less than the minimun allowed step '"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment