tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
ac9c1cd6b9
commit
e80465dacf
372 changed files with 4486 additions and 4486 deletions
|
|
@ -12,7 +12,7 @@ type
|
|||
BoxedFloat = object
|
||||
value: float
|
||||
|
||||
proc term(k: float): ptr BoxedFloat =
|
||||
proc term(k: float): ptr BoxedFloat =
|
||||
var temp = 4 * math.pow(-1, k) / (2*k + 1)
|
||||
result = cast[ptr BoxedFloat](allocShared(sizeof(BoxedFloat)))
|
||||
result.value = temp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue