mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
parent
f18b83a563
commit
0c98949215
|
@ -1747,7 +1747,7 @@ We can refactor:
|
|||
if (flag1 > 0)
|
||||
return func1_muon(val, flag2);
|
||||
if (flag1 == -1)
|
||||
return func1_tau(-val, flag2); // handled by func1_tau: flag1 = -flag1;
|
||||
return func1_tau(-val, flag1, flag2); // handled by func1_tau: flag1 = -flag1;
|
||||
return 0.;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user