Skip to content

Commit

Permalink
declare a missing local variable in GAP
Browse files Browse the repository at this point in the history
The effect of this missing declaration was strange:
I did not get error messages when trying `include("test/runtests.jl")`,
but the CI tests showed the GAP warning
together with an (intended) error message,
which caused a different output there and hence a test failure.
  • Loading branch information
ThomasBreuer committed Oct 18, 2024
1 parent 68e4414 commit 5555e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ true
julia> [x for x in iter] == collect(g)
true
julia> f = GAP.evalstr("function(itr) local res; res:= [];" *
julia> f = GAP.evalstr("function(itr) local res, i; res:= [];" *
"for i in itr do Add( res, i ); od; return res; end")
GAP: function( itr ) ... end
Expand Down

0 comments on commit 5555e51

Please sign in to comment.