Skip to content

Commit 279a6d7

Browse files
committed
macos
1 parent a1b964b commit 279a6d7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

framework/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ def opengl(context):
10841084

10851085
if plat['OS'] == 'darwin':
10861086
ogl = []
1087-
oglflags = ' -framework AGL -framework OpenGL -framework GLUT'
1087+
oglflags = ' -framework OpenGL -framework GLUT'
10881088
context.env['LINKFLAGS'] = LINKFLAGS + oglflags
10891089
elif plat['OS'] == 'cygwin' and os.path.isfile('/usr/lib/libglut32.dll.a'):
10901090
ogl = context.env.get('OPENGL',['GL32','GLU32','glut32'])

user/fomels/Mcausinv.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ int main(int argc, char* argv[])
3030
in = sf_input("in");
3131
out = sf_output("out");
3232

33-
mov = sf_output("mov");
34-
3533
if (!sf_histint(in, "n1", &n1)) sf_error("No n1= in input");
3634
if (!sf_getint("niter", &niter)) niter=1;
3735
if (!sf_getfloat("eps", &eps)) eps=0.0;
3836
if (!sf_getbool("verb", &verb)) verb=false;
3937

38+
mov = sf_output("mov");
39+
sf_putint(mov, "n2", niter);
40+
4041
x = sf_floatalloc(n1);
4142
y = sf_floatalloc(n1);
4243
xmov = sf_floatalloc2(n1,niter);

0 commit comments

Comments
 (0)