Fix default lambda args & extra semicolon.

This commit is contained in:
Jacob Mandelson 2022-09-17 14:44:50 -07:00
parent c7f8cafc28
commit 2939191fa1
2 changed files with 2 additions and 2 deletions

View File

@ -1254,7 +1254,7 @@ hpcshape& geometry_information::generate_pipe(ld length, ld width, ePipeEnd endt
const int MAX_X = 8;
const int MAX_R = 20;
auto at = [&] (ld i, ld a, ld z = 1, ld s = 1) {
auto at = [&] (ld i, ld a, ld z, ld s) {
a += 0.5;
ld alpha = 360 * degree * a / MAX_R;
hpcpush(xpush(i * length / MAX_X) * cspin(1, 2, alpha) * ypush0(width*z));

View File

@ -1752,7 +1752,7 @@ EX namespace reg3 {
auto m = dynamic_cast<hrmap_h3*> (currentmap);
if(!m) throw hr_exception("get_size_of_fv incorrect");
return m->quotient_map->acells[aid]->type;
};
}
struct hrmap_sphere3 : hrmap_closed3 {