mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Port Ceres to Windows
This is a preliminary, but full, port of Ceres to Windows. Currently all tests compile and run, with only system_test failing to work correctly due to a path issue. Change-Id: I4152c1588bf51ffd7f4d9401ef9759f5d28c299c
This commit is contained in:
@@ -197,7 +197,7 @@ TEST(NumericDiffCostFunction, TransendentalOperationsInCostFunction) {
|
||||
{ 0.0, 0.0, 0.0, 0.0, 0.0 },
|
||||
},
|
||||
};
|
||||
for (int k = 0; k < ARRAYSIZE(kTests); ++k) {
|
||||
for (int k = 0; k < CERES_ARRAYSIZE(kTests); ++k) {
|
||||
double *x1 = &(kTests[k].x1[0]);
|
||||
double *x2 = &(kTests[k].x2[0]);
|
||||
double *parameters[] = { x1, x2 };
|
||||
|
||||
Reference in New Issue
Block a user