parallelization_phase: use `ANode::validate` after AST shenanigans.
[nit.git] / lib / noise.nit
index 1a0d7ce..ba09bc1 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides the noise generators `PerlinNoise` and `InterpolatedNoise`
+# Noise generators `PerlinNoise` and `InterpolatedNoise`
 module noise is serialize
 
 import serialization
@@ -356,6 +356,6 @@ redef universal Int
        # The missing 2 bits are used to tag integers by the Nit system.
        private fun mask: Int
        do
-               return bin_and(0x3FFF_FFFF)
+               return self & 0x3FFF_FFFF
        end
 end