Skip to content

Commit aa4a87c

Browse files
HunkBennymmghannam
andauthored
upd: remove get_ from name
Co-authored-by: Mohammed Ghannam <mohammad.m.ghannam@gmail.com>
1 parent 319f367 commit aa4a87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/variable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl Variable {
160160
/// `Some(0.0)` - if the variable has been aggregated out or fixed in presolving.
161161
/// `Some(f64)` - the reduced cost of the variable
162162
///
163-
pub fn get_redcost(&self) -> Option<f64> {
163+
pub fn redcost(&self) -> Option<f64> {
164164
let rc = unsafe { ffi::SCIPgetVarRedcost(self.scip.raw, self.raw) };
165165
// ? scip invalid
166166
if rc == 1e100 {

0 commit comments

Comments
 (0)