We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b7fde4 commit d505a2fCopy full SHA for d505a2f
src/Equation.jl
@@ -243,7 +243,7 @@ function string_constant(val, bracketed::Bool)
243
end
244
245
function string_variable(feature, variable_names)
246
- if variable_names === nothing
+ if variable_names === nothing || feature > lastindex(variable_names)
247
return "x" * string(feature)
248
else
249
return variable_names[feature]
0 commit comments