Removed useless includes.

This commit is contained in:
2023-05-07 17:18:04 +02:00
parent 1513222f12
commit 113220f484
3 changed files with 2 additions and 5 deletions

View File

@@ -39,8 +39,8 @@ dtype *tensoriter_scalar_get(tensoriter_scalar it)
void tensoriter_scalar_map(tensoriter_scalar it, dtype (*func)(dtype))
{
do {
dtype el = *tensoriter_scalar_get(it);
el = func(el);
dtype *el = tensoriter_scalar_get(it);
*el = func(*el);
} while(tensoriter_scalar_next(it));
}