Skip to content

Commit

Permalink
Allocate with a different size
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalinen committed Jan 24, 2025
1 parent 00e23b2 commit c1b621e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fem/src/BlockSolve.F90
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ SUBROUTINE BlockInitVar( Solver, BlockMatrix, BlockIndex )
IF( PRESENT(BlockIndex) ) THEN
CALL Info('BlockInitVar','Using BlockIndex to pick variable and perm',Level=20)
NULLIFY(VarPerm)
m = SIZE(Solver % Variable % Perm)
m = SIZE(Solver % Variable % Values)
ALLOCATE(VarPerm(m))
VarPerm = 0

Expand Down

0 comments on commit c1b621e

Please sign in to comment.