mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace assert() by eigen_assert() (fixes bug #548).
This commit is contained in:
@@ -86,7 +86,7 @@ public:
|
||||
// do nothing
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
eigen_assert(false);
|
||||
};
|
||||
|
||||
// Function Body
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
jac.col(j) = (val2-val1)/(2*h);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
eigen_assert(false);
|
||||
};
|
||||
}
|
||||
return nfev;
|
||||
|
||||
Reference in New Issue
Block a user