home/categories/framework-internals/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-glm4-7-c-custom-matrix-element-comparison-skill-md
framework-internalsdevelopment
c-custom-matrix-element-comparison
Implement the `operator==` to compare a custom matrix class element (accessed via `operator()`) with a standard integer type (`int` or `int32_t`). This resolves compilation errors where `ASSERT_EQ(matrix(x,y,z), 5)` fails due to type mismatch.
maintainer
ECNU-ICALK
Updated 3/13/2026
Stars
304
Forks
34
quick start
Installation and usage
Implement the `operator==` to compare a custom matrix class element (accessed via `operator()`) with a standard integer type (`int` or `int32_t`). This resolves compilation errors where `ASSERT_EQ(matrix(x,y,z), 5)` fails due to type mismatch.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use c-custom-matrix-element-comparison