Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymatlib
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rahil Doshi
pymatlib
Commits
a1854ff1
Commit
a1854ff1
authored
2 months ago
by
Rahil Doshi
Browse files
Options
Downloads
Patches
Plain Diff
Update interpolation test
parent
d41865b8
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#77214
passed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/cpp/test_interpolation.cpp
+3
-3
3 additions, 3 deletions
tests/cpp/test_interpolation.cpp
with
3 additions
and
3 deletions
tests/cpp/test_interpolation.cpp
+
3
−
3
View file @
a1854ff1
...
...
@@ -201,9 +201,9 @@ void test_performance() {
// Generate random values
std
::
random_device
rd
;
std
::
mt19937
gen
(
rd
());
constexpr
double
E
_min
=
SS304L
::
E
_neq
.
front
()
*
0.8
;
constexpr
double
E
_max
=
SS304L
::
E
_neq
.
back
()
*
1.2
;
std
::
uniform_real_distribution
<
double
>
dist
(
E
_min
,
E
_max
);
constexpr
double
y
_min
=
SS304L
::
y
_neq
.
front
()
*
0.8
;
constexpr
double
y
_max
=
SS304L
::
y
_neq
.
back
()
*
1.2
;
std
::
uniform_real_distribution
<
double
>
dist
(
y
_min
,
y
_max
);
// Fill random energies
for
(
auto
&
E
:
random_energies
)
{
...
...
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