Alright, quick response lol. I just figured out my problem by reading this post again. The output HAS to be an abstract vector, and my function output was a Float which is NOT an abstract vector.
To fix the problem you have to output something like (SVector(exp(x[1])*sin(x[2]))) which is a 1-element SVector{1, Float64}.
This topic can be closed