mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-12 17:40:52 +01:00
Fixed compilation error when rug is disabled
This commit is contained in:
parent
e62a53fd28
commit
5c0b7e118b
@ -308,11 +308,7 @@ fn eval_literal_expr(
|
||||
value: f64,
|
||||
unit: Option<&String>,
|
||||
) -> Result<KalkValue, CalcError> {
|
||||
Ok(KalkValue::Number(
|
||||
float!(value),
|
||||
float!(0),
|
||||
unit.to_string(),
|
||||
))
|
||||
Ok(KalkValue::Number(float!(value), float!(0), unit.cloned()))
|
||||
}
|
||||
|
||||
fn eval_group_expr(
|
||||
|
Loading…
Reference in New Issue
Block a user