Fix typos

This commit is contained in:
Mike Taves
2024-08-02 00:06:24 +00:00
committed by Charles Schlosser
parent fd98cc49f1
commit c593e9e948
26 changed files with 38 additions and 38 deletions

View File

@@ -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> {

View File

@@ -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> >());
}

View File

@@ -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);