fixed naming inconsistency and added missing inline to lapack_common