Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
MRIBuilder.jl
Commits
cf8a5d07
Verified
Commit
cf8a5d07
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Fix split_timestep for tuple and readout
parent
e7c6b33b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/abstract_types.jl
+1
-1
1 addition, 1 deletion
src/components/abstract_types.jl
src/components/readouts/readouts.jl
+1
-1
1 addition, 1 deletion
src/components/readouts/readouts.jl
with
2 additions
and
2 deletions
src/components/abstract_types.jl
+
1
−
1
View file @
cf8a5d07
...
...
@@ -47,6 +47,6 @@ Typically, this will be determined by the maximum second derivative:
It should be infinite if the component is linear.
"""
function
split_timestep
end
split_timestep
(
comp_tuple
::
Tuple
{
<:
Number
,
<:
EventComponent
},
precision
::
Number
)
=
split_timestep
(
comp_tuple
[
2
],
precision
)
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/readouts/readouts.jl
+
1
−
1
View file @
cf8a5d07
...
...
@@ -6,5 +6,5 @@ import ..AbstractTypes: ReadoutComponent, split_timestep
import
.
ADCs
:
ADC
,
readout_times
import
.
SingleReadouts
:
SingleReadout
split_times
(
rc
::
ReadoutComponent
,
precision
)
=
Inf
split_times
tep
(
rc
::
ReadoutComponent
,
precision
)
=
Inf
end
\ No newline at end of file
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