Skip to content

Commit

Permalink
oops fix profile stellar collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Jul 29, 2021
1 parent b61e2f2 commit 3fb7190
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sesame2spiner/examples/airtest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"matid" : 5030,
"name" : "air",
/* These set the number of grid points per decade
for each variable. The default is 20 points
for each variable. The default is 50 points
per decade.
*/
"numrho/decade" : 40,
Expand Down
2 changes: 1 addition & 1 deletion sesame2spiner/examples/materials.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"matid" : 2961,
"name" : "titanium",
/* These set the number of grid points per decade
for each variable. The default is 20 points
for each variable. The default is 50 points
per decade.
*/
"numrho/decade" : 30,
Expand Down
2 changes: 1 addition & 1 deletion sesame2spiner/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const std::string EXAMPLESTRING = R"(
"matid" : 2961,
"name" : "titanium",
/* These set the number of grid points per decade
for each variable. The default is 20 points
for each variable. The default is 50 points
per decade.
*/
"numrho/decade" : 30,
Expand Down
4 changes: 2 additions & 2 deletions test/profile_stellar_collapse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ struct Bounds {
}
min += offset;
max += offset;
min = BDMath::log10(std::abs(min)); // fast, floating-point log
max = BDMath::log10(std::abs(max));
min = std::log10(std::abs(min)); // fast, floating-point log
max = std::log10(std::abs(max));
}
grid = RegularGrid1D(min, max, N);
}
Expand Down

0 comments on commit 3fb7190

Please sign in to comment.