Karmarkar scalar condition