parameters: (self,var)
docstring: makes sure that self.var is in column-major format if it exists
docstring_summary: makes sure that self.var is in column-major format if it exists
docstring_tokens: makes sure that self . var is in column - major format if it exists
function: def _ensure_cm(self,var):
          """ makes sure that self.var is in column-major format if it exists """
          if var in self.__dict__:
              if not getattr(self,var).flags.fortran: setattr(self,var, getattr(self,var).copy('F'))
function_tokens: def _ensure_cm ( self , var ) : if var in self . __dict__ : if not getattr ( self , var ) . flags . fortran : setattr ( self , var , getattr ( self , var ) . copy ( 'F' ) )