This commit is contained in:
2023-05-16 13:12:43 -07:00
parent e084fdd58f
commit 6668806432
2 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ public class Log10
{
Depth = Math.Log10(depth);
ResistanceRaw = Math.Log10(raw);
ResistanceEdited = edited is null ? null : Math.Log10(edited.Value);
Resistivity = resistivity is null ? null : Math.Log10(resistivity.Value);
Concentration = cd is null ? null : Math.Log10(cd.Value);
ResistanceEdited = edited is null || edited.Value == 0 ? null : Math.Log10(edited.Value);
Resistivity = resistivity is null || resistivity.Value == 0 ? null : Math.Log10(resistivity.Value);
Concentration = cd is null || cd.Value == 0 ? null : Math.Log10(cd.Value);
}
}