Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 1, 2023
1 parent 33bf291 commit 99b96bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Material/MaterialParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,7 @@ void new_multilinearj2(unique_ptr<Material>& return_obj, istringstream& command)
return;
}

auto density = 0.;
double density;
if(!get_input(command, density)) {
suanpan_error("A valid density is required.\n");
return;
Expand Down Expand Up @@ -2436,7 +2436,7 @@ void new_multilinearmises1d(unique_ptr<Material>& return_obj, istringstream& com
return;
}

auto density = 0.;
double density;
if(!get_input(command, density)) {
suanpan_error("A valid density is required.\n");
return;
Expand Down

0 comments on commit 99b96bf

Please sign in to comment.