Fixed assignment of data types in boundary operator sum