mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix typos
This commit is contained in:
committed by
Charles Schlosser
parent
fd98cc49f1
commit
c593e9e948
@@ -21,7 +21,7 @@
|
||||
|
||||
using std::sqrt;
|
||||
|
||||
// tolerance for chekcing number of iterations
|
||||
// tolerance for checking number of iterations
|
||||
#define LM_EVAL_COUNT_TOL 2
|
||||
|
||||
struct lmder_functor : DenseFunctor<double> {
|
||||
|
||||
@@ -37,5 +37,5 @@ void test_minres_T() {
|
||||
|
||||
EIGEN_DECLARE_TEST(minres) {
|
||||
CALL_SUBTEST_1(test_minres_T<double>());
|
||||
// CALL_SUBTEST_2(test_minres_T<std::compex<double> >());
|
||||
// CALL_SUBTEST_2(test_minres_T<std::complex<double> >());
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ void openglsupport_test_loop() {
|
||||
std::cerr << "GL version: " << gl_version_string << std::endl;
|
||||
std::cerr << "GLSL version: " << glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl;
|
||||
// Parse version from string since GL_MAJOR_VERSION is only supported in GL 3.0+.
|
||||
// Version string guaranteed to be <major>.<minor><vender extension>.
|
||||
// Version string guaranteed to be <major>.<minor><vendor extension>.
|
||||
GLint gl_major_version = gl_version_string[0] - '0';
|
||||
GLint gl_minor_version = gl_version_string[2] - '0';
|
||||
bool legacy_gl = gl_major_version < 3 || (gl_major_version == 3 && gl_minor_version < 2);
|
||||
|
||||
Reference in New Issue
Block a user