Skip to content

Numeric lines + bug fixes

Compare
Choose a tag to compare
@connorferster connorferster released this 06 Dec 06:28

Handcalcs v1.2.0

  • Feature: NumericCalcLine: this is a new line type within handcalcs that recognizes when a calculation does not contain any variables, just numbers, and bypasses the substitution step since the "symbolic" step is just the numbers of the calculation. In other words, it avoids having a redundant substitution when you are not using variables.
  • Bug fix: Decorator would not recognized doc strings properly when they were coded onto a single line. This lead handcalcs to treat the entire function source as being within the doc string and nothing would be rendered. Thank you @michaellisitsa for your contribution and fixing this bug.
  • Bug fix: Nested log and other functions, under certain circumstances, would render incorrectly because the nested functions were not recognized.