Support average for tables.

This commit is contained in:
Andrés N. Robalino
2020-05-30 08:25:39 -05:00
parent 092ee127ee
commit ad43ef08e5
16 changed files with 178 additions and 175 deletions

View File

@ -435,7 +435,7 @@ impl PrettyDebug for Unit {
}
}
fn convert_number_to_u64(number: &Number) -> u64 {
pub fn convert_number_to_u64(number: &Number) -> u64 {
match number {
Number::Int(big_int) => {
if let Some(x) = big_int.to_u64() {