src/script/script-impl.cc
bool ArcTypesMatch(const FstClass &a, const FstClass &b,
                   const string &op_name) {
  if (a.ArcType() != b.ArcType()) {
    LOG(ERROR) << "FSTs with non-matching arc types passed to " << op_name
               << ":\n\t" << a.ArcType() << " and " << b.ArcType();
    return false;
  } else {
    return true;
  }
}
//
// Utility function for checking that arc types match.
//
Utility function for checking that arc types match.
Utility function for checking that arc types match .
bool ArcTypesMatch(const FstClass &a, const FstClass &b,
                   const string &op_name) {
  if (a.ArcType() != b.ArcType()) {
    LOG(ERROR) << "FSTs with non-matching arc types passed to " << op_name
               << ":\n\t" << a.ArcType() << " and " << b.ArcType();
    return false;
  } else {
    return true;
  }
}
bool ArcTypesMatch ( const FstClass & a , const FstClass & b , const string & op_name ) { if ( a . ArcType ( ) != b . ArcType ( ) ) { LOG ( ERROR ) << " " << op_name << " \n \t " << a . ArcType ( ) << " " << b . ArcType ( ) ; return false ; } else { return true ; } }
Utility function for checking that arc types match.
Utility function for checking that arc types match .