You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without an explicit return statement, Julia returns the last evaluated line. This may be a problem for models with if-else statements that may return a different type depending on the branches it takes. This is bad because everything happens at runtime. In this case, we should explicitly return nothing.
The text was updated successfully, but these errors were encountered:
Without an explicit
return
statement, Julia returns the last evaluated line. This may be a problem for models withif-else
statements that may return a different type depending on the branches it takes. This is bad because everything happens at runtime. In this case, we should explicitly returnnothing
.The text was updated successfully, but these errors were encountered: