Skip to content

Commit

Permalink
fix: Correct some comment typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jetuk committed Jul 6, 2024
1 parent bedbcb1 commit 14cb359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pywr-core/src/solvers/cbc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl Cbc {
let coefs = &elements[start as usize..end as usize];

unsafe {
let c_name = CString::new("row").expect("Failed to create CString for column name.");
let c_name = CString::new("row").expect("Failed to create CString for row name.");
let sense = 'E';
Cbc_addRow(
self.ptr,
Expand Down
2 changes: 1 addition & 1 deletion pywr-core/src/solvers/cbc/settings.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::solvers::SolverSettings;

/// Settings for the OpenCL IPM solvers.
/// Settings for the CBC solver.
///
/// Create new settings using [`CbcSolverSettingsBuilder`] or use the default implementation;
#[derive(PartialEq, Debug, Copy, Clone)]
Expand Down

0 comments on commit 14cb359

Please sign in to comment.