https://github.com/geodynamics/citcoms
Revision e6414a796d1a97c26b4032a68038fd812f318e22 authored by Eh Tan on 19 November 2008, 06:49:04 UTC, committed by Eh Tan on 19 November 2008, 06:49:04 UTC
One bug is when n=0, it returned a, instead of 1
Another bug is a^(n-1) was returned

1 parent 00f2357
History
Tip revision: e6414a796d1a97c26b4032a68038fd812f318e22 authored by Eh Tan on 19 November 2008, 06:49:04 UTC
Fixed two bugs in lg_pow(a, n), which computes a^n.
Tip revision: e6414a7
File Mode Size
Exchanger
CitcomSmodule.c -rw-r--r-- 1.9 KB
CitcomSmodule.h -rw-r--r-- 1.3 KB
Makefile.am -rw-r--r-- 2.1 KB
advdiffu.c -rw-r--r-- 3.5 KB
advdiffu.h -rw-r--r-- 1.8 KB
bindings.c -rw-r--r-- 10.4 KB
bindings.h -rw-r--r-- 1.2 KB
exceptions.c -rw-r--r-- 1.1 KB
exceptions.h -rw-r--r-- 1.2 KB
getProperty.h -rw-r--r-- 2.9 KB
initial_conditions.c -rw-r--r-- 5.4 KB
initial_conditions.h -rw-r--r-- 2.5 KB
mesher.c -rw-r--r-- 2.2 KB
mesher.h -rw-r--r-- 1.5 KB
misc.c -rw-r--r-- 11.2 KB
misc.h -rw-r--r-- 4.3 KB
outputs.c -rw-r--r-- 3.0 KB
outputs.h -rw-r--r-- 1.7 KB
setProperties.c -rw-r--r-- 33.8 KB
setProperties.h -rw-r--r-- 3.3 KB
stokes_solver.c -rw-r--r-- 7.4 KB
stokes_solver.h -rw-r--r-- 3.1 KB

back to top