dbcsr icon indicating copy to clipboard operation
dbcsr copied to clipboard

Inconsistent INTENT for nullified pointer DATA

Open vzecca opened this issue 4 years ago • 1 comments

In most test cases at dbcsr_array_types.F line 93 and 155 the pointer DATA is nullified. However in calling procedures the corresponding pointer is an INTENT(IN) formal argument. It is called row_blk_size or col_blk_size in dbcsr_work_operations.F and in dbcsr_test_methods.F lines 327 and 328.

INTENT(IN) should then be INTENT(INOUT).

vzecca avatar Dec 29 '20 11:12 vzecca

Thanks for reporting this problem. For any future problem related to DBCSR (anything file inside the exts/dbcsr), please post on the DBCSR page (https://github.com/cp2k/dbcsr/issues)

alazzaro avatar Dec 29 '20 11:12 alazzaro