source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/assert.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
|
|
File size: 132 bytes |
Line | |
---|---|
1 | function assert(condition,message) |
2 | |
3 | if ~condition |
4 | if nargin < 2 |
5 | error('Assertion failed'); |
6 | end |
7 | error(message) |
8 | end |
Note: See TracBrowser
for help on using the repository browser.