Here you can find the source of assertSameSize(double[][] newLogPhi, double[][] logPhi)
public static void assertSameSize(double[][] newLogPhi, double[][] logPhi)
//package com.java2s; //License from project: Apache License public class Main { public static void assertSameSize(double[][] newLogPhi, double[][] logPhi) { assert (newLogPhi.length == logPhi.length); for (int k = 0; k < logPhi.length; k++) { assert (newLogPhi[k].length == logPhi[k].length); }//from w w w . ja v a 2 s .com } }