Skip to content
Snippets Groups Projects
Commit 6e09a86c authored by Oliver Sander's avatar Oliver Sander
Browse files

Fix typos in the Cholmod solver documentation

parent cb8a8fbb
No related branches found
No related tags found
1 merge request!455Export the cholmod_factor object
......@@ -238,7 +238,7 @@ public:
nonZeros, // # of nonzeroes
1, // indices are sorted ( 1 = true)
1, // matrix is "packed" ( 1 = true)
-1, // stype of matrix ( -1 = cosider the lower part only )
-1, // stype of matrix ( -1 = consider the lower part only )
CHOLMOD_REAL, // xtype of matrix ( CHOLMOD_REAL = single array, no complex numbers)
&c_ // cholmod_common ptr
), deleter);
......@@ -339,7 +339,8 @@ public:
private:
// create a destrucable unique_ptr
// create a std::unique_ptr to a cholmod_dense object with a deleter
// that calls the appropriate cholmod cleanup routine
auto make_cholmod_dense(cholmod_dense* x, cholmod_common* c)
{
const auto deleter = [c](auto* p) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment