SPEC-2513 Fixes to enable w4701 (#1105)
* Some fixes * more fixes * fixes for debug
This commit is contained in:
@@ -72,7 +72,7 @@ namespace NumericalMethods::Optimization
|
||||
|
||||
for (AZ::u32 iteration = 0; iteration < lineSearchIterations; iteration++)
|
||||
{
|
||||
ScalarVariable alphaNew;
|
||||
ScalarVariable alphaNew = 0.0;
|
||||
if (iteration > 0)
|
||||
{
|
||||
// first try selecting a new alpha value based on cubic interpolation through the most recent points
|
||||
|
||||
Reference in New Issue
Block a user