Browse Source

use the right type of conversion

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7832 8c9fc860-2736-0410-a75d-ab315db34111
eth.morozova 7 years ago
parent
commit
f470e4fe48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/FoxArrayBase.Mod

+ 1 - 1
source/FoxArrayBase.Mod

@@ -2137,7 +2137,7 @@ Sufficient (but not necessary) conditions:
 
 
 	OPERATOR "@Convert"*(CONST src: ARRAY [ ? ] OF SIZE ): ARRAY [ ? ] OF REAL;
 	OPERATOR "@Convert"*(CONST src: ARRAY [ ? ] OF SIZE ): ARRAY [ ? ] OF REAL;
 	BEGIN
 	BEGIN
-		ApplyUnaryAAOp( ADDRESSOF( RESULT ), ADDRESSOF( src ), SIZEOF( REAL ), ConvertLoopYZ );
+		ApplyUnaryAAOp( ADDRESSOF( RESULT ), ADDRESSOF( src ), SIZEOF( REAL ), ConvertLoopYR );
 		RETURN RESULT
 		RETURN RESULT
 	END "@Convert";
 	END "@Convert";