mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-07 23:42:29 +01:00
refactor(sonar): use range-based loops and ranges algorithms (cpp:S5566)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -637,9 +637,9 @@ void TNESt3::SetSize( int const size, std::string const ¶ms ) // ustawianie
|
||||
Nozzles[dSm] = 0.9;
|
||||
|
||||
// przeliczanie z mm^2 na l/m
|
||||
for (int i = 0; i < dMAX; ++i)
|
||||
for (auto &nozzle : Nozzles)
|
||||
{
|
||||
Nozzles[i] = d2A(Nozzles[i]); //(/1000^2*pi/4*1000)
|
||||
nozzle = d2A(nozzle); //(/1000^2*pi/4*1000)
|
||||
}
|
||||
for (int i = 1; i < 4; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user