Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simcore-rs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dorian Weber
Simcore-rs
Commits
f565b934
Commit
f565b934
authored
3 months ago
by
Dorian Weber
Browse files
Options
Downloads
Patches
Plain Diff
Debug print bugfix.
parent
b25a05d6
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/util.rs
+1
-1
1 addition, 1 deletion
src/util.rs
with
1 addition
and
1 deletion
src/util.rs
+
1
−
1
View file @
f565b934
...
@@ -676,7 +676,7 @@ impl fmt::Debug for RandomVariable {
...
@@ -676,7 +676,7 @@ impl fmt::Debug for RandomVariable {
let
variance
=
self
.sqr
.get
()
/
f64
::
from
(
total
)
-
mean
*
mean
;
let
variance
=
self
.sqr
.get
()
/
f64
::
from
(
total
)
-
mean
*
mean
;
let
std_dev
=
variance
.sqrt
();
let
std_dev
=
variance
.sqrt
();
f
.debug_struct
(
"RandomVar"
)
f
.debug_struct
(
"RandomVar
iable
"
)
.field
(
"n"
,
&
total
)
.field
(
"n"
,
&
total
)
.field
(
"min"
,
&
self
.min
.get
())
.field
(
"min"
,
&
self
.min
.get
())
.field
(
"max"
,
&
self
.max
.get
())
.field
(
"max"
,
&
self
.max
.get
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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