Commit 2c21215a authored by Sebastien Timmermans's avatar Sebastien Timmermans 🎹

[Fix][Python] change treshold to threshold in mbs_part

parent e25db81b
......@@ -16,7 +16,7 @@ cdef extern from 'mbs_part.h':
cdef struct c_MbsPartOptions "MbsPartOptions":
int rowperm
int visualise
double treshold
double threshold
int drivers
int verbose
int clearmbsglobal
......
......@@ -46,9 +46,9 @@ cdef class MbsPart(object):
if 'visualise' in kwargs:
self.mbs_part_ptr.options.visualise = kwargs['visualise']
kwargs.pop('visualise')
if 'treshold' in kwargs:
self.mbs_part_ptr.options.treshold = kwargs['treshold']
kwargs.pop('treshold')
if 'threshold' in kwargs:
self.mbs_part_ptr.options.threshold = kwargs['threshold']
kwargs.pop('threshold')
if 'drivers' in kwargs:
self.mbs_part_ptr.options.drivers = kwargs['drivers']
kwargs.pop('drivers')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment