Skip to content

Commit

Permalink
Use VALUE_GLOBAL instead of ValueGlobal
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasguts committed Mar 2, 2018
1 parent 8bc0e34 commit 2b65e2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gap/AttributeScheduler.gi
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ InstallGlobalFunction( __ATTRIBUTESCHEDULER_evaluate_recursive,
local i, props;

if spanning_tree.( name_property ) = 0 then
return ValueGlobal( name_property )( object );
return VALUE_GLOBAL( name_property )( object );
fi;

props := graph!.( name_property )[ spanning_tree.( name_property ) ];
Expand All @@ -89,7 +89,7 @@ InstallGlobalFunction( __ATTRIBUTESCHEDULER_evaluate_recursive,
__ATTRIBUTESCHEDULER_evaluate_recursive( graph, i, object, spanning_tree );
od;

return ValueGlobal( name_property )( object );
return VALUE_GLOBAL( name_property )( object );

end );

Expand All @@ -107,7 +107,7 @@ InstallMethod( ComputeProperty,
od;

for i in [ 1 .. Length( all_names ) ] do
if Tester( ValueGlobal( all_names[ i ] ) )( object ) then
if Tester( VALUE_GLOBAL( all_names[ i ] ) )( object ) then
how_to_compute.( all_names[ i ] ) := 0;
fi;
od;
Expand Down

0 comments on commit 2b65e2f

Please sign in to comment.