functional: fix generate_2d return value

This commit is contained in:
chrsm 2021-08-14 20:51:45 -07:00
parent 36e3261534
commit c740614cb9
No known key found for this signature in database
GPG Key ID: 9FF603CD5830305A

View File

@ -257,7 +257,7 @@ function functional.generate_2d(width, height, f)
end
end
end
return r
return result
end
-----------------------------------------------------------